diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am index 81be8b6f7..75da2add9 100644 --- a/tests/interactive/Makefile.am +++ b/tests/interactive/Makefile.am @@ -123,7 +123,7 @@ test_interactive_CPPFLAGS = \ -DCOGL_DISABLE_DEPRECATED \ -DCLUTTER_DISABLE_DEPRECATED test_interactive_LDFLAGS = -export-dynamic -test_interactive_LDADD = $(CLUTTER_LIBS) $(common_ldadd) +test_interactive_LDADD = $(CLUTTER_LIBS) $(common_ldadd) -lm EXTRA_DIST = wrapper.sh.in DISTCLEANFILES = wrapper.sh .gitignore diff --git a/tests/micro-bench/Makefile.am b/tests/micro-bench/Makefile.am index 436653704..4824bb213 100644 --- a/tests/micro-bench/Makefile.am +++ b/tests/micro-bench/Makefile.am @@ -22,7 +22,7 @@ AM_CFLAGS = \ -DG_DISABLE_SINGLE_INCLUDES \ -DTESTS_DATA_DIR=\""$(top_srcdir)/tests/data/"\" -LDADD = $(common_ldadd) $(CLUTTER_LIBS) +LDADD = $(common_ldadd) $(CLUTTER_LIBS) -lm test_text_SOURCES = test-text.c test_picking_SOURCES = test-picking.c diff --git a/tests/performance/Makefile.am b/tests/performance/Makefile.am index a683b712d..337cf66a8 100644 --- a/tests/performance/Makefile.am +++ b/tests/performance/Makefile.am @@ -12,10 +12,12 @@ noinst_PROGRAMS = \ INCLUDES = \ -I$(top_srcdir)/ \ -I$(top_srcdir)/clutter \ - -I$(top_srcdir)/clutter/cogl \ - -I$(top_builddir)/clutter \ - -I$(top_builddir)/clutter/cogl -LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la $(CLUTTER_LIBS) + -I$(top_builddir)/clutter + +common_ldadd = $(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la + +LDADD = $(common_ldadd) $(CLUTTER_LIBS) -lm + AM_CFLAGS = \ $(CLUTTER_CFLAGS) \ $(MAINTAINER_CFLAGS) \