From f7905ac5486b7127395d316ba26569e8cefb3a1a Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 8 May 2018 20:29:32 +0200 Subject: [PATCH] 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 --- Transceiver52M/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Transceiver52M/Makefile.am b/Transceiver52M/Makefile.am index a2163bf5..28c47abc 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