From f60152697008e78ce2a9c98bbcb176a4012cfd69 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 19 Mar 2019 13:46:08 +0100 Subject: 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 --- src/tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3