mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 07:02:30 +01:00
WPrefs: link against math library because it is used in a few places
The code is making use of a few of the libm functions, but it looks like gcc adds automatically the libm dependency (either by trying to be smart or as an inherited dependency?). Apparently, when compiling with clang-3.5 the function 'round' still needs the use of math library (the others do not seem to), so this patch adds it to the list of link libraries, which is more portable. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
80f18f60d2
commit
12babda9e7
@@ -57,5 +57,6 @@ WPrefs_LDADD = \
|
||||
$(top_builddir)/WINGs/libWUtil.la\
|
||||
$(top_builddir)/wrlib/libwraster.la \
|
||||
@XLFLAGS@ @XLIBS@ \
|
||||
@LIBM@ \
|
||||
@FCLIBS@ \
|
||||
@INTLIBS@
|
||||
|
||||
Reference in New Issue
Block a user