tests/: We should use $(LIBM).
authorStefan Kost <ensonic@users.sourceforge.net>
Fri, 20 Jul 2007 07:22:15 +0000 (07:22 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 20 Jul 2007 07:22:15 +0000 (07:22 +0000)
Original commit message from CVS:
* tests/examples/volume/Makefile.am:
* tests/icles/Makefile.am:
We should use $(LIBM).

ChangeLog
tests/examples/volume/Makefile.am
tests/icles/Makefile.am

index 44e0aad..e18f28f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
 
+       * tests/examples/volume/Makefile.am:
+       * tests/icles/Makefile.am:
+         We should use $(LIBM).
+
+2007-07-20  Stefan Kost  <ensonic@users.sf.net>
+
        * tests/icles/Makefile.am:
          This needs -lm.
 
index b89e49a..c4da337 100644 (file)
@@ -2,5 +2,5 @@ if HAVE_GTK
 noinst_PROGRAMS = volume
 volume_SOURCES = volume.c
 volume_CFLAGS = $(GTK_CFLAGS) $(GST_CFLAGS) -D_GNU_SOURCE
-volume_LDFLAGS = $(GTK_LIBS) $(GST_LIBS) -lm
+volume_LDFLAGS = $(GTK_LIBS) $(GST_LIBS) $(LIBM)
 endif
index 8fe7248..f5835b9 100644 (file)
@@ -3,7 +3,7 @@ X_TESTS = stress-xoverlay
 
 stress_xoverlay_SOURCES = stress-xoverlay.c
 stress_xoverlay_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(X_CFLAGS)
-stress_xoverlay_LDFLAGS = $(GST_LIBS) $(X_LIBS) -lm
+stress_xoverlay_LDFLAGS = $(GST_LIBS) $(X_LIBS) $(LIBM)
 stress_xoverlay_LDADD = \
        $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-$(GST_MAJORMINOR).la
 else