From 90ba826c6bd3d5b9ad7ddc69d02b8ea668fde81f Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Mon, 13 Mar 2023 04:18:50 +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: Ib5402f99805437ad1ea49792b99434b57b616a2f --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index dee4060..e0a3c96 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -10,6 +10,8 @@ AM_CFLAGS = \ $(LIBOSMOCODEC_CFLAGS) \ $(NULL) +AM_LDFLAGS = -no-install + check_PROGRAMS = \ procqueue/pq_test \ io/pq_file_test \