From e2cbd179ecb2ef2d76e0ad1fde84b44325305799 Mon Sep 17 00:00:00 2001 From: "Paolo E. Mazzon" Date: Sat, 27 Jun 2020 08:49:03 +0200 Subject: Fix build-system: fix "make check" make check is normally not issued if you build from source but (at least) the Debian build system fails upon deb package creation. Similarly to the 0820bcb640e9030a99a4c47119df6b9305e632da commit use xxx_LDADD instead of xxx_LDFLAGS. --- src/tests/Makemodule.am | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/tests/Makemodule.am b/src/tests/Makemodule.am index 78b695e..06fe07f 100644 --- a/src/tests/Makemodule.am +++ b/src/tests/Makemodule.am @@ -7,7 +7,8 @@ check_PROGRAMS= \ testStringUtil \ testTexture -testDemandAttention_LDFLAGS = \ +testDemandAttention_LDADD = \ + libFbTk.a \ $(FONTCONFIG_LIBS) \ $(FRIBIDI_LIBS) \ $(XFT_LIBS) \ @@ -18,7 +19,8 @@ testDemandAttention_CPPFLAGS = \ testDemandAttention_SOURCES = \ src/tests/testDemandAttention.cc -testFont_LDFLAGS = \ +testFont_LDADD = \ + libFbTk.a \ $(FONTCONFIG_LIBS) \ $(FRIBIDI_LIBS) \ $(XFT_LIBS) \ @@ -29,7 +31,8 @@ testFont_CPPFLAGS = \ testFont_SOURCES = \ src/tests/testFont.cc -testFullscreen_LDFLAGS = \ +testFullscreen_LDADD = \ + libFbTk.a \ $(FONTCONFIG_LIBS) \ $(FRIBIDI_LIBS) \ $(XFT_LIBS) \ @@ -40,7 +43,8 @@ testFullscreen_CPPFLAGS = \ testFullscreen_SOURCES = \ src/tests/fullscreentest.cc -testKeys_LDFLAGS = \ +testKeys_LDADD = \ + libFbTk.a \ $(FONTCONFIG_LIBS) \ $(FRIBIDI_LIBS) \ $(XFT_LIBS) \ @@ -64,7 +68,8 @@ testStringUtil_CPPFLAGS = \ $(AM_CPPFLAGS) \ -I$(src_incdir) -testTexture_LDFLAGS = \ +testTexture_LDADD = \ + libFbTk.a \ $(FONTCONFIG_LIBS) \ $(FRIBIDI_LIBS) \ $(IMLIB2_LIBS) \ -- cgit v0.11.2