minissdpd/Makefile : Fix build/host confusion

This commit is contained in:
Thomas Bernard 2018-02-01 12:09:09 +01:00
parent 02c6480ff9
commit ab689d5893
1 changed files with 2 additions and 1 deletions

View File

@ -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