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.
This commit is contained in:
Jia Tan 2023-09-26 00:47:26 +08:00
parent d265f6b756
commit bbb42412da
1 changed files with 1 additions and 6 deletions

View File

@ -26,15 +26,10 @@ EXTRA_DIST = \
AM_CPPFLAGS = \ AM_CPPFLAGS = \
-I$(top_srcdir)/src/common \ -I$(top_srcdir)/src/common \
-I$(top_srcdir)/src/liblzma/api \ -I$(top_srcdir)/src/liblzma/api \
-I$(top_srcdir)/src/liblzma \ -I$(top_srcdir)/src/liblzma
-I$(top_builddir)/lib
LDADD = $(top_builddir)/src/liblzma/liblzma.la LDADD = $(top_builddir)/src/liblzma/liblzma.la
if COND_GNULIB
LDADD += $(top_builddir)/lib/libgnu.a
endif
LDADD += $(LTLIBINTL) LDADD += $(LTLIBINTL)
check_PROGRAMS = \ check_PROGRAMS = \