tests: link against -lm

(see commit 4c7338c097)
This commit is contained in:
Nils Philippsen 2015-07-16 14:18:55 +02:00
parent a0e48ad29e
commit 9171de3b80
3 changed files with 21 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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