]> granicus.if.org Git - pdns/commitdiff
fix up recursor separate compilation on osx: set c++2011 flags, find lua
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 18 Dec 2015 08:13:35 +0000 (09:13 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 18 Dec 2015 08:13:35 +0000 (09:13 +0100)
pdns/sysdeps-recursor/Darwin.inc

index 3a7c4695b67a113030bc85b06e426badb6f91b4e..ce447fe5427647223a49c74695dd1ff6fa7edace 100644 (file)
@@ -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