examples: fix spectrum example build issues

Find fft headers in uninstalled setup, fix LIBS order.
This commit is contained in:
Tim-Philipp Müller 2012-02-15 23:55:44 +00:00
parent dfc431dbb8
commit 71477a3eac

View file

@ -7,9 +7,10 @@ demo_osssrc_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)
demo_osssrc_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS)
demo_audiotest_SOURCES = demo-audiotest.c
demo_audiotest_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)
demo_audiotest_LDADD = $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \
-lgstfft-$(GST_MAJORMINOR) $(GST_LIBS) $(GTK_LIBS)
demo_audiotest_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)
demo_audiotest_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstfft-$(GST_MAJORMINOR) \
$(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS)
spectrum_example_SOURCES = spectrum-example.c
spectrum_example_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)