Browse Source

Link plugins against libvlccore

This reverts back to 0.9 (and --enable-libtool 0.8.6) state. This
should fix bindings and web plugins, without hacks. However, this will
require relinking all VLC plugins whenever libvlccore changes.
pull/2/head
Rémi Denis-Courmont 17 years ago
parent
commit
cba4b50534
  1. 13
      modules/common.am

13
modules/common.am

@ -21,18 +21,9 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \
-avoid-version -module \
-export-symbol-regex ^vlc_entry \
-shrext $(LIBEXT) \
-no-undefined \
`$(VLC_CONFIG) --ldflags plugin $@`
AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@`
if HAVE_WIN32
# Windows does not support undefined symbols
AM_LDFLAGS += -no-undefined
AM_LIBADD += $(LTLIBVLCCORE)
endif
if HAVE_WINCE
# Same for Windows CE
AM_LDFLAGS += -no-undefined
AM_LIBADD += $(LTLIBVLCCORE)
endif
AM_LIBADD = `$(VLC_CONFIG) -libs plugin $@` $(LTLIBVLCCORE)
include $(srcdir)/Modules.am

Loading…
Cancel
Save