aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-09-26 00:47:26 +0800
committerJia Tan <jiat0218@gmail.com>2023-10-31 18:44:59 +0800
commitedec253e418562f3164a01ecc8805295fa022efa (patch)
tree3fe48b399549a07add05c58df7eddb77be14faf3
parentCMake: Remove /lib from tests include path. (diff)
downloadxz-edec253e418562f3164a01ecc8805295fa022efa.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 = \