[gimp/gimp-2-8] Bug 749675 - gimp-2.8-doc job fails for undefined reference...



commit a349f33d1f753c29523b673c1511e999f6f2ba45
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 21 18:41:35 2015 +0200

    Bug 749675 - gimp-2.8-doc job fails for undefined reference...
    
    ...to symbol 'fmod@@GLIBC_2.2.5'
    
    Add -lm to GTKDOC_LIBS.

 devel-docs/app/Makefile.am |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/devel-docs/app/Makefile.am b/devel-docs/app/Makefile.am
index 9ebb9fc..4e96e36 100644
--- a/devel-docs/app/Makefile.am
+++ b/devel-docs/app/Makefile.am
@@ -61,6 +61,11 @@ GTKDOC_CFLAGS = \
        -I$(includedir) \
        -UGTK_DISABLE_SINGLE_INCLUDES
 
+if OS_WIN32
+else
+libm = -lm
+endif
+
 GTKDOC_LIBS = \
        -u $(SYMPREFIX)xcf_init                                              \
        -u $(SYMPREFIX)internal_procs_init                                   \
@@ -110,7 +115,8 @@ GTKDOC_LIBS = \
        $(DBUS_GLIB_LIBS)                                                    \
        $(GEGL_LIBS)                                                         \
        $(RT_LIBS)                                                           \
-        $(INTLLIBS)
+        $(INTLLIBS)                                                         \
+       $(libm)
 
 
 if ENABLE_GTK_DOC_APP


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