fluxbox/util/fbrun/Makemodule.am
Mathias Gumz 0820bcb640 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'.
2015-01-04 16:21:02 +01:00

21 lines
359 B
Text

bin_PROGRAMS += fbrun
fbrun_CPPFLAGS = \
$(AM_CPPFLAGS) \
-I$(src_incdir)
fbrun_SOURCES = \
util/fbrun/FbRun.hh \
util/fbrun/FbRun.cc \
util/fbrun/main.cc \
util/fbrun/fbrun.xpm
fbrun_LDADD = libFbTk.a \
$(FRIBIDI_LIBS) \
$(FONTCONFIG_LIBS) \
$(FREETYEP_LIBS) \
$(XFT_LIBS) \
$(XINERAMA_LIBS) \
$(XPM_LIBS) \
$(XRENDER_LIBS) \
$(X11_LIBS)