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)
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-gprs/+/31774
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: If5299340ad72407d01e728febf356a07a1d99681
Gerrit-Change-Number: 31774
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange