From: bert hubert Date: Fri, 18 Dec 2015 08:13:35 +0000 (+0100) Subject: fix up recursor separate compilation on osx: set c++2011 flags, find lua X-Git-Tag: dnsdist-1.0.0-alpha1~45^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90ce701fb1006247727c4095c579898aea06dd17;p=pdns fix up recursor separate compilation on osx: set c++2011 flags, find lua --- diff --git a/pdns/sysdeps-recursor/Darwin.inc b/pdns/sysdeps-recursor/Darwin.inc index 3a7c4695b..ce447fe54 100644 --- a/pdns/sysdeps-recursor/Darwin.inc +++ b/pdns/sysdeps-recursor/Darwin.inc @@ -1,7 +1,7 @@ -CXXFLAGS+=-D_XOPEN_SOURCE -DHAVE_STRCASESTR -D__APPLE_USE_RFC_3542 -Wno-deprecated-declarations +CXXFLAGS+=-D_XOPEN_SOURCE -DHAVE_STRCASESTR -D__APPLE_USE_RFC_3542 -Wno-deprecated-declarations -std=gnu++11 LUA_CPPFLAGS_CONFIG ?= -I/usr/include/lua5.1 -LUA_LIBS_CONFIG ?= -llua5.1 -rdynamic +LUA_LIBS_CONFIG ?= -llua -rdynamic # Lua 5.0 settings #LUA_CPPFLAGS_CONFIG=-I/usr/include/lua50