fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-gprs/+/31774 )
Change subject: tests/llc: local libs must be first in *_LDADD ......................................................................
tests/llc: local libs must be first in *_LDADD
Otherwise the linker may pick system-installed libs instead.
Change-Id: If5299340ad72407d01e728febf356a07a1d99681 --- M tests/llc/Makefile.am 1 file changed, 15 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-gprs refs/changes/74/31774/1
diff --git a/tests/llc/Makefile.am b/tests/llc/Makefile.am index ca0ed1d..341bf00 100644 --- a/tests/llc/Makefile.am +++ b/tests/llc/Makefile.am @@ -32,30 +32,30 @@
llc_test_SOURCES = llc_test.c llc_test_LDADD = \ + $(top_builddir)/src/llc/libosmo-gprs-llc.la \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ - $(top_builddir)/src/llc/libosmo-gprs-llc.la \ $(NULL)
llc_prim_test_SOURCES = llc_prim_test.c llc_prim_test_LDADD = \ + $(top_builddir)/src/llc/libosmo-gprs-llc.la \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ - $(top_builddir)/src/llc/libosmo-gprs-llc.la \ $(NULL)
pdu_codec_test_SOURCES = pdu_codec_test.c # libosmo-gprs-llc.a is used below to access non-exported private symbols used in the test: pdu_codec_test_LDADD = \ + $(top_builddir)/src/llc/.libs/libosmo-gprs-llc.a \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ - $(top_builddir)/src/llc/.libs/libosmo-gprs-llc.a \ $(NULL)
xid_codec_test_SOURCES = xid_codec_test.c # libosmo-gprs-llc.a is used below to access non-exported private symbols used in the test: xid_codec_test_LDADD = \ + $(top_builddir)/src/llc/.libs/libosmo-gprs-llc.a \ $(LIBOSMOCORE_LIBS) \ $(LIBOSMOGSM_LIBS) \ - $(top_builddir)/src/llc/.libs/libosmo-gprs-llc.a \ $(NULL)