From e1da8c9d2c954c9bd3316ebd356d1bf2881a8707 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Sat, 11 Mar 2023 04:41:04 +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: I4bc03bdc1f2de2574558e2ad753e116486993a7f --- tests/mgcp/Makefile.am | 1 + tests/mgcp_client/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/mgcp/Makefile.am b/tests/mgcp/Makefile.am index af6201a9b..73ad1cfcb 100644 --- a/tests/mgcp/Makefile.am +++ b/tests/mgcp/Makefile.am @@ -18,6 +18,7 @@ AM_CFLAGS = \ AM_LDFLAGS = \ $(COVERAGE_LDFLAGS) \ + -no-install \ $(NULL) EXTRA_DIST = \ diff --git a/tests/mgcp_client/Makefile.am b/tests/mgcp_client/Makefile.am index 3895d0279..f6f1838e1 100644 --- a/tests/mgcp_client/Makefile.am +++ b/tests/mgcp_client/Makefile.am @@ -15,6 +15,7 @@ AM_CFLAGS = \ AM_LDFLAGS = \ $(COVERAGE_LDFLAGS) \ + -no-install \ $(NULL) EXTRA_DIST = \