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



commit 4c7338c0974096dca8566a1d570ed51fbe721ae6
Author: Michael Natterer <mitch gimp org>
Date:   Mon Feb 16 19:35:00 2015 +0100

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

 app/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index cb8f629..fb857d7 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -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)           \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]