From: Iain Lane Date: Wed, 3 Oct 2018 10:57:59 +0000 (+0100) Subject: Tell libtool not to deduplicate linked libraries which causes problems in the case... X-Git-Tag: archive/raspbian/1.14.4-1+rvt+deb10u1~1^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=13f0e3840ec7fc4cc28e115eca966da7b0d2312d;p=gst-plugins-bad1.0.git Tell libtool not to deduplicate linked libraries which causes problems in the case of circular deps. Force -lc to be added at the end. Gbp-Pq: Name 01_fix-modplug-linking.patch --- diff --git a/ext/modplug/Makefile.am b/ext/modplug/Makefile.am index 0a3c137..bd8fc91 100644 --- a/ext/modplug/Makefile.am +++ b/ext/modplug/Makefile.am @@ -2,7 +2,7 @@ plugin_LTLIBRARIES = libgstmodplug.la libgstmodplug_la_SOURCES = gstmodplug.cc libgstmodplug_la_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CXXFLAGS) $(MODPLUG_CFLAGS) -libgstmodplug_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(LIBM) $(MODPLUG_LIBS) -libgstmodplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +libgstmodplug_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(LIBM) $(MODPLUG_LIBS) -lc +libgstmodplug_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) --preserve-dup-deps noinst_HEADERS = gstmodplug.h