mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 02:46:33 +00:00
cc04850bd8
Use foo_LDADD instead of foo_LDFLAGS to specify the libraries to link to. This should make sure arguments are passed to the linker in the right order, and makes LDFLAGS usable again. Based on patch by Brian Cameron <brian.cameron@oracle.com> Fixes #615697.
16 lines
614 B
Makefile
16 lines
614 B
Makefile
if HAVE_GTK
|
|
noinst_PROGRAMS = demo-osssrc demo-audiotest spectrum-example
|
|
endif
|
|
|
|
demo_osssrc_SOURCES = demo-osssrc.c
|
|
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_LIBS) $(GTK_LIBS)
|
|
|
|
spectrum_example_SOURCES = spectrum-example.c
|
|
spectrum_example_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GTK_CFLAGS)
|
|
spectrum_example_LDADD = $(GST_BASE_LIBS) $(GST_LIBS) $(GTK_LIBS)
|
|
|