vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jan 19 
20:05:48 2012 +0200| [78d45cc159a0cf1c44feef11a2b9800d9398048e] | committer: 
Rémi Denis-Courmont

compat: install the static import library

With libcompat installed (into $(prefix)/lib/vlc/ or whatever), libtool
will actually pull only needed functions from the static import library
libcompat.a. Previously, it would copy every compat functions into
every VLC binaries. This should shrink plugins a bit.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78d45cc159a0cf1c44feef11a2b9800d9398048e
---

 compat/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compat/Makefile.am b/compat/Makefile.am
index 3241924..8f0c27c 100644
--- a/compat/Makefile.am
+++ b/compat/Makefile.am
@@ -1,7 +1,7 @@
-noinst_LTLIBRARIES = libcompat.la
+pkglib_LTLIBRARIES = libcompat.la
 libcompat_la_SOURCES = dummy.c
 libcompat_la_LIBADD = $(LTLIBOBJS)
-libcompat_la_LDFLAGS = -no-undefined
+libcompat_la_LDFLAGS = -no-undefined -static
 
 BUILT_SOURCES = dummy.c
 CLEANFILES = dummy.c

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to