[vlc-devel] [PATCH 2/2] modules: fix linking on Ubuntu 16.04
Steve Lhomme
robux4 at gmail.com
Fri Oct 21 15:15:11 CEST 2016
---
modules/codec/Makefile.am | 4 ++--
modules/services_discovery/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/codec/Makefile.am b/modules/codec/Makefile.am
index 3add254..821c301 100644
--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -18,7 +18,7 @@ codec_LTLIBRARIES += libspdif_plugin.la
liba52_plugin_la_SOURCES = codec/a52.c
liba52_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_a52)
-liba52_plugin_la_LIBADD = $(LIBM) $(LIBS_a52)
+liba52_plugin_la_LIBADD = $(LIBS_a52) $(LIBM)
liba52_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
EXTRA_LTLIBRARIES += liba52_plugin.la
codec_LTLIBRARIES += $(LTLIBa52)
@@ -253,7 +253,7 @@ codec_LTLIBRARIES += $(LTLIBflac)
libkate_plugin_la_SOURCES = codec/kate.c
libkate_plugin_la_CFLAGS = $(AM_CFLAGS) $(TIGER_CFLAGS) $(KATE_CFLAGS)
libkate_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
-libkate_plugin_la_LIBADD = $(TIGER_LIBS) $(KATE_LIBS) $(LIBM)
+libkate_plugin_la_LIBADD = $(TIGER_LIBS) $(KATE_LIBS) $(LIBM) $(LIBPTHREAD)
EXTRA_LTLIBRARIES += libkate_plugin.la
codec_LTLIBRARIES += $(LTLIBkate)
diff --git a/modules/services_discovery/Makefile.am b/modules/services_discovery/Makefile.am
index 2bdc75f..78aefc4 100644
--- a/modules/services_discovery/Makefile.am
+++ b/modules/services_discovery/Makefile.am
@@ -30,7 +30,7 @@ sd_LTLIBRARIES += $(LTLIBmtp)
libupnp_plugin_la_SOURCES = services_discovery/upnp.cpp services_discovery/upnp.hpp
libupnp_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(UPNP_CFLAGS)
libupnp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
-libupnp_plugin_la_LIBADD = $(UPNP_LIBS)
+libupnp_plugin_la_LIBADD = $(UPNP_LIBS) $(LIBPTHREAD)
EXTRA_LTLIBRARIES += libupnp_plugin.la
sd_LTLIBRARIES += $(LTLIBupnp)
--
2.7.4
More information about the vlc-devel
mailing list