Commit 3c30f52c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by 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 78d45cc1)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4eab79d3
noinst_LTLIBRARIES = libcompat.la pkglib_LTLIBRARIES = libcompat.la
libcompat_la_SOURCES = dummy.c libcompat_la_SOURCES = dummy.c
libcompat_la_LIBADD = $(LTLIBOBJS) libcompat_la_LIBADD = $(LTLIBOBJS)
libcompat_la_LDFLAGS = -no-undefined libcompat_la_LDFLAGS = -no-undefined -static
BUILT_SOURCES = dummy.c BUILT_SOURCES = dummy.c
CLEANFILES = dummy.c CLEANFILES = dummy.c
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment