mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-08 11:26:59 +02:00
![Rémi Denis-Courmont](/assets/img/avatar_default.png)
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.
12 lines
285 B
Makefile
12 lines
285 B
Makefile
pkglib_LTLIBRARIES = libcompat.la
|
|
libcompat_la_SOURCES = dummy.c
|
|
libcompat_la_LIBADD = $(LTLIBOBJS)
|
|
libcompat_la_LDFLAGS = -no-undefined -static
|
|
|
|
BUILT_SOURCES = dummy.c
|
|
CLEANFILES = dummy.c
|
|
|
|
dummy.c:
|
|
$(AM_V_at)rm -f dummy.c
|
|
$(AM_V_GEN)echo '/* Automatically generated */' > dummy.c
|