diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-03-11 04:36:57 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-03-11 04:36:59 +0700 |
commit | 5cf6b75dc96eafb4df323148f76ddee7a5b1b3cb (patch) | |
tree | 800728e33f7cf773906fc9ada750d6fcb7a2489c | |
parent | 4aa2e417c9c0aa4656e97b26822c3ad55509d39e (diff) |
tests: use -no-install libtool flag to avoid ./lt-* scripts
This option should be used for any executables which are used only
for testing, or for generating other files and are consequently never
installed. By specifying this option, we are telling Libtool that
the executable it links will only ever be executed from where it is
built in the build tree. Libtool is usually able to considerably
speed up the link process for such executables.
Change-Id: I2ca675e93dc5b34bb08d3b841adc115e93558137
-rw-r--r-- | tests/gtp/Makefile.am | 1 | ||||
-rw-r--r-- | tests/lib/Makefile.am | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/gtp/Makefile.am b/tests/gtp/Makefile.am index e49d824..ef69260 100644 --- a/tests/gtp/Makefile.am +++ b/tests/gtp/Makefile.am @@ -1,4 +1,5 @@ AM_CFLAGS = -Wall -I$(top_srcdir)/include $(LIBOSMOCORE_CFLAGS) +AM_LDFLAGS = -no-install EXTRA_DIST = \ gtpie_test.ok \ diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am index 8f0301c..e807281 100644 --- a/tests/lib/Makefile.am +++ b/tests/lib/Makefile.am @@ -1,4 +1,5 @@ AM_CFLAGS = -Wall -I$(top_srcdir)/include $(LIBOSMOCORE_CFLAGS) +AM_LDFLAGS = -no-install EXTRA_DIST = ippool_test.ok \ ippool_test.err \ |