patchdetect: link against libm

Link against libm. Include math-compat.h header. Don't link against
orc, since it's not actually used.

https://bugzilla.gnome.org/show_bug.cgi?id=645711
This commit is contained in:
Tim-Philipp Müller 2011-03-26 12:45:24 +00:00
parent 5111540ceb
commit 9bd9b8bf72

View file

@ -7,13 +7,12 @@ libgstpatchdetect_la_SOURCES = gstpatchdetect.c
#nodist_libgstpatchdetect_la_SOURCES = $(ORC_NODIST_SOURCES) #nodist_libgstpatchdetect_la_SOURCES = $(ORC_NODIST_SOURCES)
libgstpatchdetect_la_CFLAGS = \ libgstpatchdetect_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_CFLAGS) \ $(GST_CFLAGS)
$(ORC_CFLAGS)
libgstpatchdetect_la_LIBADD = \ libgstpatchdetect_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \ $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
$(GST_BASE_LIBS) \ $(GST_BASE_LIBS) \
$(GST_LIBS) \ $(GST_LIBS) \
$(ORC_LIBS) $(LIBM)
libgstpatchdetect_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) libgstpatchdetect_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstpatchdetect_la_LIBTOOLFLAGS = --tag=disable-static libgstpatchdetect_la_LIBTOOLFLAGS = --tag=disable-static