[gegl] Link with libm where needed



commit c9bbc815378cb81ba8a48be35f615e7e2d74dffc
Author: Kalev Lember <kalevlember gmail com>
Date:   Wed Mar 4 13:08:14 2015 +0100

    Link with libm where needed
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746103

 bin/Makefile.am      |    2 +-
 examples/Makefile.am |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/bin/Makefile.am b/bin/Makefile.am
index bcb6e61..24e77b4 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -27,7 +27,7 @@ AM_CFLAGS = \
 
 AM_LDFLAGS =  \
        $(no_undefined) ../gegl/libgegl-$(GEGL_API_VERSION).la \
-       $(DEP_LIBS) $(BABL_LIBS) $(PNG_LIBS) $(LIBSPIRO)
+       $(DEP_LIBS) $(BABL_LIBS) $(PNG_LIBS) $(LIBSPIRO) $(MATH_LIB)
 
 bin_PROGRAMS = gegl gegl-tester
 
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 745b98a..d992b4d 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -27,7 +27,8 @@ AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
 AM_LDFLAGS =  \
        $(top_builddir)/gegl/libgegl-$(GEGL_API_VERSION).la \
        $(BABL_LIBS) \
-       $(DEP_LIBS)
+       $(DEP_LIBS) \
+       $(MATH_LIB)
 
 bin_PROGRAMS = \
        2geglbuffer \


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