From 7a453aff93040adf414d5bc7af34b214d51a471f Mon Sep 17 00:00:00 2001 From: Emanuele Aina Date: Fri, 22 Feb 2013 11:05:00 +0000 Subject: build: Fix building with the gold linker by referencing gmodule-2.0 With the binutils-gold linker the '--no-copy-dt-needed-entries' flag is active by default and using any symbol from indirectly loaded libraries will result in undefined reference errors. Add to the libfarstream target the AG_GST_GLIB_CHECK-generated GLIB_LIBS variable, which references gmodule-no-export-2.0. https://bugs.freedesktop.org/show_bug.cgi?id=61268 --- farstream/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'farstream') diff --git a/farstream/Makefile.am b/farstream/Makefile.am index f7ee2a3b..fe4c90ba 100644 --- a/farstream/Makefile.am +++ b/farstream/Makefile.am @@ -47,10 +47,12 @@ nodist_libfarstream_@FS_APIVERSION@_la_SOURCES = \ libfarstream_@FS_APIVERSION@_la_CFLAGS = \ $(FS_INTERNAL_CFLAGS) $(FS_CFLAGS) \ + $(GLIB_FLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) \ $(GST_BASE_CFLAGS) \ $(GST_CFLAGS) libfarstream_@FS_APIVERSION@_la_LIBADD = \ + $(GLIB_LIBS) \ $(GST_BASE_LIBS) \ $(GST_LIBS) libfarstream_@FS_APIVERSION@_la_LDFLAGS = \ -- cgit v1.2.1