[vlc-commits] compat: install the static import library

Rémi Denis-Courmont git at videolan.org
Thu Jan 19 23:42:01 CET 2012


vlc/vlc-1.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 19 20:05:48 2012 +0200| [3c30f52ceee3de58d3a779d1f7e53415abbf4d22] | committer: Jean-Baptiste Kempf

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.
(cherry picked from commit 78d45cc159a0cf1c44feef11a2b9800d9398048e)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=3c30f52ceee3de58d3a779d1f7e53415abbf4d22
---

 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



More information about the vlc-commits mailing list