aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-11-21 15:43:29 +0100
committerHarald Welte <laforge@gnumonks.org>2015-11-21 15:43:29 +0100
commit6a8cbe9718d2fdf2c0ace0b70508de6e0a406345 (patch)
tree0e883d877de69bc1893608cb4a1d45c1e508f7da
parent97b6bfa996ed1745d27c5598186c4583f7e90861 (diff)
tests/smpp: Fix linking order
At least when using system-wide libtalloc, the LIBOSMOCORE_LIBS must come last, after the static libraries under libcommon.
-rw-r--r--openbsc/tests/smpp/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/openbsc/tests/smpp/Makefile.am b/openbsc/tests/smpp/Makefile.am
index b3d4568ca..06e7af6b4 100644
--- a/openbsc/tests/smpp/Makefile.am
+++ b/openbsc/tests/smpp/Makefile.am
@@ -8,5 +8,6 @@ noinst_PROGRAMS = smpp_test
smpp_test_SOURCES = smpp_test.c \
$(top_builddir)/src/libmsc/smpp_utils.c
-smpp_test_LDADD = $(LIBOSMOCORE_LIBS) \
- $(top_builddir)/src/libcommon/libcommon.a
+smpp_test_LDADD = \
+ $(top_builddir)/src/libcommon/libcommon.a \
+ $(LIBOSMOCORE_LIBS)