aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2019-03-19 13:46:08 +0100
committerOliver Smith <osmith@sysmocom.de>2019-03-19 13:46:08 +0100
commitf60152697008e78ce2a9c98bbcb176a4012cfd69 (patch)
tree9f8da9037315ac76b18450ab07f9b1a0174a3f4e
parente22027ae2a8b610a3a492246b88c744484b31b99 (diff)
tests: use -no-install libtool flag to avoid ./lt-* scripts
This ensures that the rpath of the generated binaries is set to use only the just-compiled so-files and not any system-wide installed libraries while avoiding the ugly shell script wrapper. Change-Id: I92c7391631becc09d277981179c23f2e4dba3b54
-rw-r--r--src/tests/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 493bc18..72a3300 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -3,6 +3,8 @@ AM_CFLAGS = -g -Wall -I$(top_srcdir)/src/tests \
$(OSMOVTY_CFLAGS) $(OSMOCORE_CFLAGS) $(OSMOGSM_CFLAGS) \
$(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS)
+AM_LDFLAGS = -no-install
+
COMMON_LIBS = $(OSMOVTY_LIBS) $(OSMOCORE_LIBS) $(OSMOGSM_LIBS) $(ASN1C_LIBS) $(OSMOSIGTRAN_LIBS) -lsctp
check_PROGRAMS = test-ranap test-helpers test-hnbap hnb-test #dummy-cn