mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
Clean up LDFLAGS, LIBS, CFLAGS
Fix order, fix variables that don't exist, like GST_LIBS_LIBS, use $(LIBM) instead of -lm, and move _LIBS from LDFLAGS to LIBADD. Spotted by Havard Graff.
This commit is contained in:
parent
5d439f56bb
commit
d40c856ae5
1 changed files with 5 additions and 3 deletions
|
@ -14,8 +14,10 @@ noinst_HEADERS = gstdtmfsrc.h \
|
|||
gstrtpdtmfcommon.h \
|
||||
tone_detect.h
|
||||
|
||||
libgstdtmf_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(ERROR_CFLAGS) -DEXTERN_BUF -DRTP_SUPPORT
|
||||
libgstdtmf_la_LIBADD = $(GST_LIBS_LIBS) -lm
|
||||
libgstdtmf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@
|
||||
libgstdtmf_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
||||
-DEXTERN_BUF -DRTP_SUPPORT
|
||||
libgstdtmf_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstrtp-@GST_MAJORMINOR@ \
|
||||
$(GST_BASE_LIBS) $(GST_LIBS) $(LIBM)
|
||||
libgstdtmf_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
libgstdtmf_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
|
|
Loading…
Reference in a new issue