[sound-juicer] Fix build with -Wl,--as-needed
- From: Phillip Wood <pwood src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sound-juicer] Fix build with -Wl,--as-needed
- Date: Tue, 3 Mar 2015 18:27:05 +0000 (UTC)
commit 63e9835fa39af5b1a7363c66a8391e1b4abcd898
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Tue Mar 3 14:40:47 2015 +0100
Fix build with -Wl,--as-needed
Libraries, that are referenced by objects (.o) must be listed AFTER
those in the linker call. Re-order the Makefile accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=745531
tests/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 2dc8cfd..b9fbba7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -10,11 +10,11 @@ tests_mb_test_CPPFLAGS = \
tests_mb_test_CFLAGS = $(sound_juicer_CFLAGS)
tests_mb_test_LDADD = \
- $(sound_juicer_LDADD) \
libjuicer/sound_juicer-sj-error.o \
libjuicer/sound_juicer-sj-metadata.o \
libjuicer/sound_juicer-sj-metadata-getter.o \
libjuicer/sound_juicer-sj-metadata-gvfs.o \
libjuicer/sound_juicer-sj-metadata-musicbrainz5.o \
libjuicer/sound_juicer-sj-structures.o \
- libjuicer/sound_juicer-sj-util.o
+ libjuicer/sound_juicer-sj-util.o \
+ $(sound_juicer_LDADD)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]