gstreamer/tests/examples/dynamic/Makefile.am
Tim-Philipp Müller b5f0b7c221 build: use LDADD instead of LDFLAGS to specify libs to link to when building executables
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 initial patch by Brian Cameron <brian.cameron@oracle.com>

Fixes #615697.
2010-04-14 14:08:15 +01:00

21 lines
633 B
Makefile

noinst_PROGRAMS = addstream codec-select sprinkle sprinkle2 sprinkle3
addstream_SOURCES = addstream.c
addstream_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE
addstream_LDADD = $(GST_LIBS)
codec_select_SOURCES = codec-select.c
codec_select_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE
codec_select_LDADD = $(GST_LIBS)
sprinkle_SOURCES = sprinkle.c
sprinkle_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE
sprinkle_LDADD = $(GST_LIBS)
sprinkle2_SOURCES = sprinkle2.c
sprinkle2_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE
sprinkle2_LDADD = $(GST_LIBS)
sprinkle3_SOURCES = sprinkle3.c
sprinkle3_CFLAGS = $(GST_CFLAGS) -D_GNU_SOURCE
sprinkle3_LDADD = $(GST_LIBS)