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



commit 670fb5602d097be5b53654ff100dbd98bc11cb28
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
    
    (cherry picked from commit 4c7338c0974096dca8566a1d570ed51fbe721ae6)

 app/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index 243f08a..f3f5ba5 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -95,6 +95,8 @@ endif
 
 if OS_WIN32
 win32_ldflags = -mwindows -Wl,--tsaware $(WIN32_LARGE_ADDRESS_AWARE)
+else
+libm = -lm
 endif
 
 if USE_BINRELOC
@@ -181,7 +183,8 @@ gimpconsoleldadd = \
        $(GEGL_LIBS)                    \
        $(GLIB_LIBS)                    \
        $(INTLLIBS)                     \
-       $(RT_LIBS)
+       $(RT_LIBS)                      \
+       $(libm)
 
 gimp_2_8_LDFLAGS = \
        $(AM_LDFLAGS)           \


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