From edec253e418562f3164a01ecc8805295fa022efa Mon Sep 17 00:00:00 2001 From: Jia Tan Date: Tue, 26 Sep 2023 00:47:26 +0800 Subject: [PATCH] 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. --- tests/Makefile.am | 7 +------ 1 file changed, 1 insertion(+), 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 = \