aboutsummaryrefslogtreecommitdiff
path: root/util/fbrun
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-04 15:21:02 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-04 15:21:02 (GMT)
commit0820bcb640e9030a99a4c47119df6b9305e632da (patch)
treee040502e0c5a058e8544f5235e99c04d054c0eab /util/fbrun
parentad968e32b30ee6262574bc3e02b20d5b117f5b88 (diff)
downloadfluxbox-0820bcb640e9030a99a4c47119df6b9305e632da.zip
fluxbox-0820bcb640e9030a99a4c47119df6b9305e632da.tar.bz2
Fix build-system: use xxx_LDADD instead of xxx_LDFLAGS
xxx_LDFLAGS place the libraries like '-lX11' or '-lXft' at the beginning of the linker command. Some systems were not able to handle the situation and this lead to a lot of unresolved symbols. Reading the documentation of automake: ... you can use LDADD to do so. This variable is used to specify additional objects or libraries to link with; it is inappropriate for specifying specific linker flags, you should use AM_LDFLAGS for this purpose. In addition we link against -lm in order to satisfy symbols refering to 'cos' and 'sin'.
Diffstat (limited to 'util/fbrun')
-rw-r--r--util/fbrun/Makemodule.am11
1 files changed, 5 insertions, 6 deletions
diff --git a/util/fbrun/Makemodule.am b/util/fbrun/Makemodule.am
index f730ac8..ddeeafb 100644
--- a/util/fbrun/Makemodule.am
+++ b/util/fbrun/Makemodule.am
@@ -10,13 +10,12 @@ fbrun_SOURCES = \
10 util/fbrun/main.cc \ 10 util/fbrun/main.cc \
11 util/fbrun/fbrun.xpm 11 util/fbrun/fbrun.xpm
12 12
13fbrun_LDADD = libFbTk.a 13fbrun_LDADD = libFbTk.a \
14
15fbrun_LDFLAGS = \
16 $(FONTCONFIG_LIBS) \
17 $(FRIBIDI_LIBS) \ 14 $(FRIBIDI_LIBS) \
18 $(X11_LIBS) \ 15 $(FONTCONFIG_LIBS) \
16 $(FREETYEP_LIBS) \
19 $(XFT_LIBS) \ 17 $(XFT_LIBS) \
20 $(XINERAMA_LIBS) \ 18 $(XINERAMA_LIBS) \
21 $(XPM_LIBS) \ 19 $(XPM_LIBS) \
22 $(XRENDER_LIBS) 20 $(XRENDER_LIBS) \
21 $(X11_LIBS)