minissdpd: proper CFLAGS for Solaris 11

This commit is contained in:
Thomas Bernard 2016-11-11 08:51:57 -05:00
parent 590209e3e6
commit 75702f640b
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ endif
ifeq ($(DEB_BUILD_ARCH_OS), kfreebsd)
LDLIBS += -lfreebsd-glue
endif
ifeq ($(OS), SunOS)
CFLAGS += -D_XOPEN_SOURCE
CFLAGS += -D_XOPEN_SOURCE_EXTENDED=1
CFLAGS += -D__EXTENSIONS__
LDFLAGS += -lsocket -lnsl -lresolv
endif
#EXECUTABLES = minissdpd testminissdpd listifaces
EXECUTABLES = minissdpd testminissdpd testcodelength \