summaryrefslogtreecommitdiff
path: root/farstream
diff options
context:
space:
mode:
authorEmanuele Aina <emanuele.aina@collabora.com>2013-02-22 11:05:00 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.com>2013-02-25 17:01:59 -0500
commit7a453aff93040adf414d5bc7af34b214d51a471f (patch)
treea71bd4e7056c10df86d822910c3dd885bba5c47b /farstream
parentf4727622b206f534bf6e6c1a1711d3df9c2e19ec (diff)
downloadfarstream-7a453aff93040adf414d5bc7af34b214d51a471f.tar.gz
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
Diffstat (limited to 'farstream')
-rw-r--r--farstream/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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 = \