Change in osmo-iuh[master]: tests: use -no-install libtool flag to avoid ./lt-* scripts

osmith gerrit-no-reply at lists.osmocom.org
Tue Mar 19 12:54:33 UTC 2019


Hello Pau Espin Pedrol, Max, Harald Welte,

I'd like you to do a code review. Please visit

    https://gerrit.osmocom.org/13314

to review the following change.


Change subject: tests: use -no-install libtool flag to avoid ./lt-* scripts
......................................................................

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
---
M src/tests/Makefile.am
1 file changed, 2 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/14/13314/1

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

-- 
To view, visit https://gerrit.osmocom.org/13314
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I92c7391631becc09d277981179c23f2e4dba3b54
Gerrit-Change-Number: 13314
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190319/944a4306/attachment.html>


More information about the gerrit-log mailing list