build: link to libm in examples that use it
authorBenjamin Otte <otte@redhat.com>
Thu, 11 Feb 2010 09:56:17 +0000 (10:56 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 12 Feb 2010 09:26:12 +0000 (10:26 +0100)
This fixes build failure in Fedora 13.

tests/examples/seek/Makefile.am

index feadfd9..792f96c 100644 (file)
@@ -8,6 +8,6 @@ noinst_PROGRAMS = $(examples)
 
 LDADD = \
        $(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
-       $(GST_LIBS) $(GTK_LIBS)
+       $(GST_LIBS) $(GTK_LIBS) $(LIBM)
 
 AM_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GTK_CFLAGS) -I$(top_builddir)/gst-libs