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
2a8183bdf0.

Change-Id: I59c20d268ecac4c22689124165c47295bd9176d4
This commit is contained in:
Pau Espin 2018-05-08 20:29:32 +02:00 committed by Harald Welte
parent 0c27938d44
commit f7905ac548
1 changed files with 2 additions and 2 deletions

View File

@ -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