aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-08 20:29:32 +0200
committerHarald Welte <laforge@gnumonks.org>2018-06-13 21:45:32 +0000
commitf7905ac5486b7127395d316ba26569e8cefb3a1a (patch)
tree2455cb34004a8cacfec8c11188591f32c8e186f8
parent0c27938d4482906ecf8d1657f85e0c236e3124be (diff)
lms: Makefile.am: Reorder params to fix link issue
It seems the order in which static code and -lfoo is passed to the linker matters. This commit is a lms specific follow-up of commit 2a8183bdf0dfd5c5a59c3933fb932e827ddf811c. Change-Id: I59c20d268ecac4c22689124165c47295bd9176d4
-rw-r--r--Transceiver52M/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver52M/Makefile.am b/Transceiver52M/Makefile.am
index a2163bf..28c47ab 100644
--- a/Transceiver52M/Makefile.am
+++ b/Transceiver52M/Makefile.am
@@ -104,8 +104,8 @@ if DEVICE_LMS
bin_PROGRAMS += osmo-trx-lms
osmo_trx_lms_SOURCES = osmo-trx.cpp
osmo_trx_lms_LDADD = \
+ $(builddir)/device/lms/libdevice.la \
$(COMMON_LDADD) \
- $(LMS_LIBS) \
- $(builddir)/device/lms/libdevice.la
+ $(LMS_LIBS)
osmo_trx_lms_CPPFLAGS = $(AM_CPPFLAGS) $(LMS_CFLAGS)
endif