app: link against -lm, whatever new linker version seems to need is

This commit is contained in:
Michael Natterer 2015-02-16 19:35:00 +01:00
parent e448cc3173
commit 4c7338c097
1 changed files with 4 additions and 1 deletions

View File

@ -94,6 +94,8 @@ endif
if OS_WIN32
win32_ldflags = -mwindows -Wl,--tsaware $(WIN32_LARGE_ADDRESS_AWARE)
else
libm = -lm
endif
if USE_BINRELOC
@ -186,7 +188,8 @@ gimpconsoleldadd = \
$(LCMS_LIBS) \
$(Z_LIBS) \
$(INTLLIBS) \
$(RT_LIBS)
$(RT_LIBS) \
$(libm)
gimp_@GIMP_APP_VERSION@_LDFLAGS = \
$(AM_LDFLAGS) \