From ee5db3e8e44199149b43a19f41fcd09e00a71f06 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sat, 6 Sep 2014 10:04:23 +0200 Subject: [PATCH] minissdpd/Makefile: use LDFLAGS when linking binary... --- minissdpd/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minissdpd/Makefile b/minissdpd/Makefile index d2ba929..bc07c7b 100644 --- a/minissdpd/Makefile +++ b/minissdpd/Makefile @@ -54,9 +54,9 @@ endif minissdpd: $(MINISSDPDOBJS) if [ "$(DEB_BUILD_ARCH_OS)" = "kfreebsd" ] ; then \ - $(CC) $(CFLAGS) -lfreebsd-glue -o $@ $(MINISSDPDOBJS) ; \ + $(CC) $(CFLAGS) $(LDFLAGS) -lfreebsd-glue -o $@ $(MINISSDPDOBJS) ; \ else \ - $(CC) $(CFLAGS) -o $@ $(MINISSDPDOBJS) ; \ + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MINISSDPDOBJS) ; \ fi testminissdpd: $(TESTMINISSDPDOBJS)