[gst-cvs] gst-plugins-good: check: Link against LIBM and include math.h for isinf()
Jan Schmidt
thaytan at kemper.freedesktop.org
Thu Oct 8 08:17:20 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: 0f5711d1dcb05f10d17a298549d8c4aae081ab91
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=0f5711d1dcb05f10d17a298549d8c4aae081ab91
Author: Jan Schmidt <thaytan at noraisin.net>
Date: Thu Oct 8 16:16:14 2009 +0100
check: Link against LIBM and include math.h for isinf()
---
tests/check/Makefile.am | 2 ++
tests/check/elements/level.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index 81c748c..33e1e33 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 e330a3e..558a1c6 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>
More information about the Gstreamer-commits
mailing list