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

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Mar 19 11:06:09 UTC 2019


Harald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13308


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 libosmo{core,gsm,vty}.so and not any
system-wide installed libraries while avoiding the ugly shell script
wrapper.

Change-Id: I9b9ae0ed277ba71519661a66a70b7f86971e4511
---
M tests/Makefile.am
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/08/13308/1

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 63f3959..ab3728f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,6 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include
 AM_CFLAGS = -Wall $(TALLOC_CFLAGS)
-AM_LDFLAGS =
+AM_LDFLAGS = -no-install
 LDADD = $(top_builddir)/src/libosmocore.la $(TALLOC_LIBS)
 
 if ENABLE_SERCOM_STUB

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9b9ae0ed277ba71519661a66a70b7f86971e4511
Gerrit-Change-Number: 13308
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190319/ec897176/attachment.html>


More information about the gerrit-log mailing list