mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +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.
31 lines
874 B
Makefile
31 lines
874 B
Makefile
plugin_LTLIBRARIES = libgstaudioconvert.la
|
|
|
|
libgstaudioconvert_la_SOURCES = \
|
|
gstaudioconvert.c \
|
|
audioconvert.c \
|
|
gstchannelmix.c \
|
|
gstaudioquantize.c \
|
|
plugin.c
|
|
|
|
libgstaudioconvert_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
|
libgstaudioconvert_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
libgstaudioconvert_la_LIBADD = \
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBM)
|
|
libgstaudioconvert_la_LIBTOOLFLAGS = --tag=disable-static
|
|
|
|
noinst_HEADERS = \
|
|
gstaudioconvert.h \
|
|
audioconvert.h \
|
|
gstchannelmix.h \
|
|
gstaudioquantize.h \
|
|
gstfastrandom.h \
|
|
plugin.h
|
|
|
|
#TESTS = channelmixtest
|
|
#noinst_PROGRAMS = channelmixtest
|
|
|
|
#channelmixtest_CFLAGS = $(GST_CFLAGS)
|
|
#channelmixtest_LDADD = libgstaudioconvert.la \
|
|
# $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
# $(GST_LIBS)
|