[gimp] devel-docs: link app/ docs tools against -lm



commit 9ecdcf01b6acb939c23cf8670316ec364d9cd3d4
Author: Michael Natterer <mitch gimp org>
Date:   Tue May 26 08:12:09 2015 +0200

    devel-docs: link app/ docs tools against -lm

 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 322d125..94baf04 100644
--- a/devel-docs/app/Makefile.am
+++ b/devel-docs/app/Makefile.am
@@ -51,6 +51,11 @@ GTKDOC_CFLAGS = \
        -I$(includedir) \
        -UGTK_DISABLE_SINGLE_INCLUDES
 
+if OS_WIN32
+else
+libm = -lm
+endif
+
 GTKDOC_LIBS = \
        -Wl,-u,$(SYMPREFIX)xcf_init                                          \
        -Wl,-u,$(SYMPREFIX)internal_procs_init                               \
@@ -101,7 +106,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]