Change in libosmo-netif[master]: tests: AM_LDFLAGS = -noinstall for all tests

osmith gerrit-no-reply at
Thu Mar 14 12:03:29 UTC 2019

osmith has submitted this change and it was merged. ( )

Change subject: tests: AM_LDFLAGS = -noinstall for all tests

tests: AM_LDFLAGS = -noinstall for all tests

Fix a symbol lookup error when building a new test on systems where
a previous is installed. Symptoms described here in

-no-install causes libtool to generate output files that link against
libraries in the build tree, instead of linking against the future
installation paths and generating a wrapper script. The wrapper script
should override the library paths, but at least on Debian, it does not
work as it should. Test binaries won't be installed anyway, so we can
safely use -no-install and work around the problem.

See also:

Related: OS#3812
Change-Id: I94ccff42dfba71aaf59bb30ca312db0bac58c27d
M tests/
1 file changed, 1 insertion(+), 2 deletions(-)

  Max: Looks good to me, but someone else must approve
  tnt: Looks good to me, but someone else must approve
  osmith: Looks good to me, approved
  Jenkins Builder: Verified

diff --git a/tests/ b/tests/
index 36447be..dd7703a 100644
--- a/tests/
+++ b/tests/
@@ -1,5 +1,5 @@
 AM_CFLAGS = -Wall -I$(top_srcdir)/include $(LIBOSMOCORE_CFLAGS) -g
 check_PROGRAMS = osmux/osmux_test osmux/osmux_test2 stream/stream_test jibuf/jibuf_test amr/amr_test
 check_HEADERS =
@@ -12,7 +12,6 @@
 stream_stream_test_SOURCES = stream/stream_test.c
 stream_stream_test_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(top_builddir)/src/
-stream_stream_test_LDFLAGS = -no-install
 jibuf_jibuf_test_SOURCES = jibuf/jibuf_test.c
 jibuf_jibuf_test_LDADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(top_builddir)/src/

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I94ccff42dfba71aaf59bb30ca312db0bac58c27d
Gerrit-Change-Number: 13241
Gerrit-PatchSet: 4
Gerrit-Owner: osmith <osmith at>
Gerrit-Reviewer: Alexander Huemer <alexander.huemer at>
Gerrit-Reviewer: Harald Welte <laforge at>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at>
Gerrit-Reviewer: Pablo Neira Ayuso <pablo at>
Gerrit-Reviewer: dexter <pmaier at>
Gerrit-Reviewer: osmith <osmith at>
Gerrit-Reviewer: steve-m <steve at>
Gerrit-Reviewer: tnt <tnt at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list