]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Remove Gnulib dependency from tests.
authorJia Tan <jiat0218@gmail.com>
Mon, 25 Sep 2023 16:47:26 +0000 (00:47 +0800)
committerJia Tan <jiat0218@gmail.com>
Mon, 25 Sep 2023 16:47:26 +0000 (00:47 +0800)
The tests do not use any Gnulib replacements so they do not need to link
libgnu.a or have /lib in the include path.

tests/Makefile.am

index 0523191ddf00e1da441db72b577b20bbecea0559..ebc33a7b1e15cd8132eee323743cec04e7a7fd24 100644 (file)
@@ -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 = \