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:49:02 UTC 2019


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Max: Looks good to me, but someone else must approve
  Pau Espin Pedrol: Looks good to me, approved



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: merged
Gerrit-Change-Id: I9b9ae0ed277ba71519661a66a70b7f86971e4511
Gerrit-Change-Number: 13308
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190319/fe930e35/attachment.html>


More information about the gerrit-log mailing list