summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-10-08 16:16:14 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-10-08 16:17:13 +0100
commit0f5711d1dcb05f10d17a298549d8c4aae081ab91 (patch)
tree353efafb5ba7c2b9c589c39418670010c7b73b3b /tests
parent8b9799aeb1d634f0ef2880b20617d64e2a3d248e (diff)
check: Link against LIBM and include math.h for isinf()
Diffstat (limited to 'tests')
-rw-r--r--tests/check/Makefile.am2
-rw-r--r--tests/check/elements/level.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index 81c748c1..33e1e334 100644
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
@@ -171,6 +171,8 @@ elements_deinterleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMIN
elements_interleave_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
elements_interleave_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(LDADD)
+elements_level_LDADD = $(LDADD) $(LIBM)
+
elements_rtpbin_buffer_list_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
$(ERROR_CFLAGS) $(GST_CHECK_CFLAGS)
elements_rtpbin_buffer_list_LDADD = $(GST_PLUGINS_BASE_LIBS) \
diff --git a/tests/check/elements/level.c b/tests/check/elements/level.c
index e330a3e7..558a1c60 100644
--- a/tests/check/elements/level.c
+++ b/tests/check/elements/level.c
@@ -21,6 +21,7 @@
*/
#include <unistd.h>
+#include <math.h>
#include <gst/check/gstcheck.h>