diff options
author | Emanuele Aina <emanuele.aina@collabora.com> | 2013-02-22 11:05:00 +0000 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-02-25 17:01:59 -0500 |
commit | 7a453aff93040adf414d5bc7af34b214d51a471f (patch) | |
tree | a71bd4e7056c10df86d822910c3dd885bba5c47b /farstream | |
parent | f4727622b206f534bf6e6c1a1711d3df9c2e19ec (diff) | |
download | farstream-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.am | 2 |
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 = \ |