diff options
| author | Mark Wielaard <[email protected]> | 2024-08-21 15:52:20 +0200 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2024-08-21 23:30:05 +0200 |
| commit | 597fb11a069bf96739bccaf99b4953cf8404ced1 (patch) | |
| tree | dbfb8a8aa8d62c23fc5f24e6c98364a8ebf930aa /tests | |
| parent | 742fb81f3c5ae225b6c430643ca62050887c3fba (diff) | |
tests: When BUILD_STATIC always link against libeu
libeu is a static library with internal helper functions normally
included in all shared libraries. But when linking static (with
--enable-gcov) we need to explicitly link it into the test binaries.
* tests/Makefile.am (libelf): Add $(libeu) when BUILD_STATIC.
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index aee5413f..cdb2d405 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -723,7 +723,7 @@ installcheck-local: if BUILD_STATIC libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) $(libebl) -ldl -lpthread -libelf = ../libelf/libelf.a -lz $(zstd_LIBS) +libelf = ../libelf/libelf.a -lz $(zstd_LIBS) $(libeu) libasm = ../libasm/libasm.a else libdw = ../libdw/libdw.so |
