From d40c856ae586227615c03e25c00cbd154db6bbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 22 Nov 2009 19:30:58 +0000 Subject: [PATCH] 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. --- gst/dtmf/Makefile.am | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gst/dtmf/Makefile.am b/gst/dtmf/Makefile.am index cbb351c9dc..049518ea6c 100644 --- a/gst/dtmf/Makefile.am +++ b/gst/dtmf/Makefile.am @@ -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