Commit 9171de3b authored by Nils Philippsen's avatar Nils Philippsen

tests: link against -lm

(see commit 4c7338c0)
parent a0e48ad2
......@@ -7,6 +7,11 @@ libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la
libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
if OS_WIN32
else
libm = -lm
endif
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"Gimp-Config\" \
-DGIMP_APP_VERSION_STRING=\"$(GIMP_APP_VERSION)\" \
......@@ -119,7 +124,8 @@ test_config_LDADD = \
$(GEXIV2_LIBS) \
$(Z_LIBS) \
$(JSON_C_LIBS) \
$(LIBMYPAINTGEGL_LIBS)
$(LIBMYPAINTGEGL_LIBS) \
$(libm)
CLEANFILES = $(EXTRA_PROGRAMS) foorc
......
......@@ -13,6 +13,11 @@ libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).
libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
if OS_WIN32
else
libm = -lm
endif
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/app \
......@@ -57,7 +62,8 @@ LDADD = \
$(GDK_PIXBUF_LIBS) \
$(PANGOCAIRO_LIBS) \
$(GEGL_LIBS) \
$(GLIB_LIBS)
$(GLIB_LIBS) \
$(libm)
output-dir:
mkdir -p output
......
......@@ -50,6 +50,11 @@ libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).
libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
if OS_WIN32
else
libm = -lm
endif
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/app \
......@@ -132,7 +137,8 @@ LDADD = \
$(JSON_C_LIBS) \
$(LIBMYPAINTGEGL_LIBS) \
$(INTLLIBS) \
$(RT_LIBS)
$(RT_LIBS) \
$(libm)
gimpdir-output:
mkdir -p gimpdir-output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment