summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-22 13:54:31 +0200
committerMax Kellermann <max@duempel.org>2012-08-22 13:54:31 +0200
commit695ffedef9a33c1ffd02096defd97a67d3378537 (patch)
treed2a3ee778bd5e3ac9975ff48ee69c1a56979deec
parent1c3e03837c5360091073c26e01a23f68462eb607 (diff)
Makefile.am: swap libdb_plugins.a and -lmpdclient order
With some linkers, it is important to specify the static library first, and then libmpdclient. Fixes linker failures.
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index dff597faf..1114964b7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -447,8 +447,8 @@ libdb_plugins_a_SOURCES += \
endif
DB_LIBS = \
- $(LIBMPDCLIENT_LIBS) \
- libdb_plugins.a
+ libdb_plugins.a \
+ $(LIBMPDCLIENT_LIBS)
# archive plugins