Commit 8ac45478 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Move libvlccore and libcompat to LDFLAGS from LIBADD

An ABI change to libvlccore or libcompat will always be signaled by a
change in a header file. That change will trigger a recompilation and
then relinking of affected plugins.

Thus, there is no need for libvlccore.la and libcompat.la to be
explicit dependencies of plugins. This small hack avoids relinking
every plugin whenever the libvlccore is rebuilt.
parent 5282cbf1
......@@ -26,12 +26,13 @@ endif
AM_CFLAGS =
AM_CXXFLAGS =
AM_OBJCFLAGS =
AM_LIBADD = $(LIBPTHREAD)
AM_LDFLAGS = -rpath '$(libvlcdir)' \
-avoid-version -module \
-export-symbols-regex ^vlc_entry \
-shrext $(LIBEXT) \
-no-undefined
AM_LIBADD = $(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la $(LIBPTHREAD)
-no-undefined \
$(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la
include $(srcdir)/Modules.am
......
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