minissdpd/Makefile : Fix build/host confusion
This commit is contained in:
parent
02c6480ff9
commit
ab689d5893
|
@ -25,7 +25,8 @@ OS = $(shell $(CC) -dumpmachine)
|
||||||
|
|
||||||
ifneq (, $(findstring linux, $(OS)))
|
ifneq (, $(findstring linux, $(OS)))
|
||||||
LDLIBS += -lnfnetlink
|
LDLIBS += -lnfnetlink
|
||||||
else ifneq (, $(findstring freebsd, $(OS)))
|
endif
|
||||||
|
ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
|
||||||
LDLIBS += -lfreebsd-glue
|
LDLIBS += -lfreebsd-glue
|
||||||
else ifneq (, $(findstring sun, $(OS)))
|
else ifneq (, $(findstring sun, $(OS)))
|
||||||
CFLAGS += -D_XOPEN_SOURCE
|
CFLAGS += -D_XOPEN_SOURCE
|
||||||
|
|
Loading…
Reference in New Issue