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
This commit is contained in:
Vadim Yanitskiy 2023-03-11 04:41:04 +07:00
parent e78221d273
commit e1da8c9d2c
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ AM_CFLAGS = \
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
-no-install \
$(NULL)
EXTRA_DIST = \

View File

@ -15,6 +15,7 @@ AM_CFLAGS = \
AM_LDFLAGS = \
$(COVERAGE_LDFLAGS) \
-no-install \
$(NULL)
EXTRA_DIST = \