vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Sep  9 
16:27:10 2012 +0300| [8ac45478b4cddfb3ea83feefbad3e98de0397ac2] | committer: 
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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ac45478b4cddfb3ea83feefbad3e98de0397ac2
---

 modules/common.am |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/common.am b/modules/common.am
index 806dec0..59a68d9 100644
--- a/modules/common.am
+++ b/modules/common.am
@@ -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
 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to