From fed58d97b81a2462b764122467bbf74881d93daa Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sat, 11 Mar 2023 05:24:47 +0700 Subject: [PATCH] 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: Ieb4ddc5799819c24ed357218c7b0197bcb6b5c91 --- tests/CommonLibs/Makefile.am | 2 ++ tests/Transceiver52M/Makefile.am | 1 + 2 files changed, 3 insertions(+) diff --git a/tests/CommonLibs/Makefile.am b/tests/CommonLibs/Makefile.am index 1a5b922d..cfdbc584 100644 --- a/tests/CommonLibs/Makefile.am +++ b/tests/CommonLibs/Makefile.am @@ -12,6 +12,8 @@ AM_CXXFLAGS = \ $(LIBOSMOVTY_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install + LDADD = \ $(COMMON_LA) \ $(LIBOSMOCORE_LIBS) \ diff --git a/tests/Transceiver52M/Makefile.am b/tests/Transceiver52M/Makefile.am index 2077c95f..a5b91f61 100644 --- a/tests/Transceiver52M/Makefile.am +++ b/tests/Transceiver52M/Makefile.am @@ -7,6 +7,7 @@ AM_CPPFLAGS = \ $(NULL) AM_CFLAGS = -Wall -g +AM_LDFLAGS = -no-install EXTRA_DIST = convolve_test.ok convolve_test_golden.h