aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-09-26 00:47:26 +0800
committerJia Tan <jiat0218@gmail.com>2023-09-26 00:47:26 +0800
commitbbb42412da6a02705ba3e668e90840c2683e4e67 (patch)
tree83e13be4ebffd5c40c5f953a4823e3478f815c7f
parentCMake: Remove /lib from tests include path. (diff)
downloadxz-bbb42412da6a02705ba3e668e90840c2683e4e67.tar.xz
Build: Remove Gnulib dependency from tests.
The tests do not use any Gnulib replacements so they do not need to link libgnu.a or have /lib in the include path.
-rw-r--r--tests/Makefile.am7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0523191d..ebc33a7b 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -26,15 +26,10 @@ EXTRA_DIST = \
AM_CPPFLAGS = \
-I$(top_srcdir)/src/common \
-I$(top_srcdir)/src/liblzma/api \
- -I$(top_srcdir)/src/liblzma \
- -I$(top_builddir)/lib
+ -I$(top_srcdir)/src/liblzma
LDADD = $(top_builddir)/src/liblzma/liblzma.la
-if COND_GNULIB
-LDADD += $(top_builddir)/lib/libgnu.a
-endif
-
LDADD += $(LTLIBINTL)
check_PROGRAMS = \