From: bert hubert Date: Sat, 16 Jan 2016 12:26:33 +0000 (+0100) Subject: quick fix for compiling on FreeBSD 10.2 which appears to be what people use/need... X-Git-Tag: dnsdist-1.0.0-alpha2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9abefb76a2f500e497be5e0e6f311645d69e2a5c;p=thirdparty%2Fpdns.git quick fix for compiling on FreeBSD 10.2 which appears to be what people use/need to compile powerdns 4. --- diff --git a/pdns/sysdeps-recursor/FreeBSD.inc b/pdns/sysdeps-recursor/FreeBSD.inc index 12cb6f9122..1397667e52 100644 --- a/pdns/sysdeps-recursor/FreeBSD.inc +++ b/pdns/sysdeps-recursor/FreeBSD.inc @@ -4,9 +4,6 @@ OPTIONALS:=optional/kqueuemplexer.o optional/kqueuemplexer.o: kqueuemplexer.cc $(CXX) $(CXXFLAGS) -c $< -o $@ -LUA_CPPFLAGS_CONFIG ?= -I/usr/include/lua5.1 -LUA_LIBS_CONFIG ?= -llua5.1 -rdynamic +LUA_CPPFLAGS_CONFIG ?= -I/usr/local/include/lua51 +LUA_LIBS_CONFIG ?= -L/usr/local/lib/ -llua-5.1 -rdynamic -# Lua 5.0 settings -#LUA_CPPFLAGS_CONFIG=-I/usr/include/lua50 -#LUA_LIBS_CONFIG=-llua50 -llualib50