From ab689d5893b4b9a45c733aef60cdd77b101997b8 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 1 Feb 2018 12:09:09 +0100 Subject: [PATCH] minissdpd/Makefile : Fix build/host confusion --- minissdpd/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/minissdpd/Makefile b/minissdpd/Makefile index efce796..18c0e2a 100644 --- a/minissdpd/Makefile +++ b/minissdpd/Makefile @@ -25,7 +25,8 @@ OS = $(shell $(CC) -dumpmachine) ifneq (, $(findstring linux, $(OS))) LDLIBS += -lnfnetlink -else ifneq (, $(findstring freebsd, $(OS))) +endif +ifeq ($(DEB_HOST_ARCH_OS), kfreebsd) LDLIBS += -lfreebsd-glue else ifneq (, $(findstring sun, $(OS))) CFLAGS += -D_XOPEN_SOURCE