aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-05-08 20:29:32 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-05-25 17:14:43 +0200
commit4b00e736f0f09d8d2930d6e389d0043b207bf455 (patch)
tree02056bd55810deca5fd6bf8f078968732cdfe4f7
parentaeccb44c7a24cbf909ab1f3bc6e0518a627a9f49 (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