Browse Source

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.
pull/2/head
Rémi Denis-Courmont 15 years ago
parent
commit
78d45cc159
  1. 4
      compat/Makefile.am

4
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

Loading…
Cancel
Save