0820bcb640
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'.
21 lines
359 B
Text
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)
|