[vlc-devel] commit: Link plugins against libvlccore ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Feb 14 19:02:47 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Feb 14 14:01:34 2009 +0200| [cba4b50534e596d9c6596a145d32ea7ac2262bca] | committer: Rémi Denis-Courmont
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cba4b50534e596d9c6596a145d32ea7ac2262bca
---
modules/common.am | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diff --git a/modules/common.am b/modules/common.am
index 4139862..caa5659 100644
--- a/modules/common.am
+++ b/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
More information about the vlc-devel
mailing list