check: Link against LIBM and include math.h for isinf()
authorJan Schmidt <thaytan@noraisin.net>
Thu, 8 Oct 2009 15:16:14 +0000 (16:16 +0100)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 8 Oct 2009 15:17:13 +0000 (16:17 +0100)
tests/check/Makefile.am
tests/check/elements/level.c

index 81c748c..33e1e33 100644 (file)
@@ -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) \
index e330a3e..558a1c6 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <unistd.h>
+#include <math.h>
 
 #include <gst/check/gstcheck.h>