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
This commit is contained in:
Oliver Smith 2019-03-19 13:46:08 +01:00
parent e22027ae2a
commit f601526970
1 changed files with 2 additions and 0 deletions

View File

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