mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
b5f0b7c221
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.
32 lines
1.2 KiB
Makefile
32 lines
1.2 KiB
Makefile
|
|
noinst_PROGRAMS = appsrc_ex appsrc-stream appsrc-stream2 appsrc-ra \
|
|
appsrc-seekable appsink-src
|
|
|
|
appsrc_ex_SOURCES = appsrc_ex.c
|
|
appsrc_ex_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
appsrc_ex_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la \
|
|
$(GST_BASE_LIBS) $(GST_LIBS)
|
|
|
|
appsrc_stream_SOURCES = appsrc-stream.c
|
|
appsrc_stream_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
appsrc_stream_LDADD = $(GST_LIBS)
|
|
|
|
appsrc_stream2_SOURCES = appsrc-stream2.c
|
|
appsrc_stream2_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
appsrc_stream2_LDADD = $(GST_LIBS)
|
|
|
|
appsrc_ra_SOURCES = appsrc-ra.c
|
|
appsrc_ra_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
appsrc_ra_LDADD = $(GST_LIBS)
|
|
|
|
appsrc_seekable_SOURCES = appsrc-seekable.c
|
|
appsrc_seekable_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
appsrc_seekable_LDADD = $(GST_LIBS)
|
|
|
|
appsink_src_SOURCES = appsink-src.c
|
|
appsink_src_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
appsink_src_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la \
|
|
$(GST_LIBS)
|
|
|