From: Peter van Dijk Date: Fri, 18 Jan 2013 11:01:05 +0000 (+0000) Subject: presumably fix recursor compilation on Solaris 11 X-Git-Tag: rec-3.5-rc1~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54c7e42845eeba087db9dd5a4eca96f5e4b926a0;p=thirdparty%2Fpdns.git presumably fix recursor compilation on Solaris 11 git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3063 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/sysdeps-recursor/SunOS.inc b/pdns/sysdeps-recursor/SunOS.inc index 72a0c398fa..f42e482e42 100644 --- a/pdns/sysdeps-recursor/SunOS.inc +++ b/pdns/sysdeps-recursor/SunOS.inc @@ -9,6 +9,10 @@ LUA_LIBS_CONFIG ?= -llua CXXFLAGS+= -D__MAKECONTEXT_V2_SOURCE +ifeq ($(shell uname -r),5.11) + CXXFLAGS+= -DHAVE_STRCASESTR +endif + OPTIONALS:=optional/portsmplexer.o optional/devpollmplexer.o optional/portsmplexer.o: portsmplexer.cc