diff options
author | Paolo E. Mazzon <paoloemilio.mazzon@gmail.com> | 2020-06-27 06:49:03 (GMT) |
---|---|---|
committer | Mathias Gumz <mgumz@users.noreply.github.com> | 2022-04-18 19:59:33 (GMT) |
commit | e2cbd179ecb2ef2d76e0ad1fde84b44325305799 (patch) | |
tree | 4626cbe43dfb257ef5ddbd82cea76098002ac286 | |
parent | 6168d9c8b0b6f08e6eb668ac4cdce3289c588435 (diff) | |
download | fluxbox-e2cbd179ecb2ef2d76e0ad1fde84b44325305799.zip fluxbox-e2cbd179ecb2ef2d76e0ad1fde84b44325305799.tar.bz2 |
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.
-rw-r--r-- | src/tests/Makemodule.am | 15 |
1 files 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= \ | |||
7 | testStringUtil \ | 7 | testStringUtil \ |
8 | testTexture | 8 | testTexture |
9 | 9 | ||
10 | testDemandAttention_LDFLAGS = \ | 10 | testDemandAttention_LDADD = \ |
11 | libFbTk.a \ | ||
11 | $(FONTCONFIG_LIBS) \ | 12 | $(FONTCONFIG_LIBS) \ |
12 | $(FRIBIDI_LIBS) \ | 13 | $(FRIBIDI_LIBS) \ |
13 | $(XFT_LIBS) \ | 14 | $(XFT_LIBS) \ |
@@ -18,7 +19,8 @@ testDemandAttention_CPPFLAGS = \ | |||
18 | testDemandAttention_SOURCES = \ | 19 | testDemandAttention_SOURCES = \ |
19 | src/tests/testDemandAttention.cc | 20 | src/tests/testDemandAttention.cc |
20 | 21 | ||
21 | testFont_LDFLAGS = \ | 22 | testFont_LDADD = \ |
23 | libFbTk.a \ | ||
22 | $(FONTCONFIG_LIBS) \ | 24 | $(FONTCONFIG_LIBS) \ |
23 | $(FRIBIDI_LIBS) \ | 25 | $(FRIBIDI_LIBS) \ |
24 | $(XFT_LIBS) \ | 26 | $(XFT_LIBS) \ |
@@ -29,7 +31,8 @@ testFont_CPPFLAGS = \ | |||
29 | testFont_SOURCES = \ | 31 | testFont_SOURCES = \ |
30 | src/tests/testFont.cc | 32 | src/tests/testFont.cc |
31 | 33 | ||
32 | testFullscreen_LDFLAGS = \ | 34 | testFullscreen_LDADD = \ |
35 | libFbTk.a \ | ||
33 | $(FONTCONFIG_LIBS) \ | 36 | $(FONTCONFIG_LIBS) \ |
34 | $(FRIBIDI_LIBS) \ | 37 | $(FRIBIDI_LIBS) \ |
35 | $(XFT_LIBS) \ | 38 | $(XFT_LIBS) \ |
@@ -40,7 +43,8 @@ testFullscreen_CPPFLAGS = \ | |||
40 | testFullscreen_SOURCES = \ | 43 | testFullscreen_SOURCES = \ |
41 | src/tests/fullscreentest.cc | 44 | src/tests/fullscreentest.cc |
42 | 45 | ||
43 | testKeys_LDFLAGS = \ | 46 | testKeys_LDADD = \ |
47 | libFbTk.a \ | ||
44 | $(FONTCONFIG_LIBS) \ | 48 | $(FONTCONFIG_LIBS) \ |
45 | $(FRIBIDI_LIBS) \ | 49 | $(FRIBIDI_LIBS) \ |
46 | $(XFT_LIBS) \ | 50 | $(XFT_LIBS) \ |
@@ -64,7 +68,8 @@ testStringUtil_CPPFLAGS = \ | |||
64 | $(AM_CPPFLAGS) \ | 68 | $(AM_CPPFLAGS) \ |
65 | -I$(src_incdir) | 69 | -I$(src_incdir) |
66 | 70 | ||
67 | testTexture_LDFLAGS = \ | 71 | testTexture_LDADD = \ |
72 | libFbTk.a \ | ||
68 | $(FONTCONFIG_LIBS) \ | 73 | $(FONTCONFIG_LIBS) \ |
69 | $(FRIBIDI_LIBS) \ | 74 | $(FRIBIDI_LIBS) \ |
70 | $(IMLIB2_LIBS) \ | 75 | $(IMLIB2_LIBS) \ |