From a2259b3fd318204a862e2442afee1c78da54c913 Mon Sep 17 00:00:00 2001 From: Juan Francisco Cantero Hurtado Date: Fri, 9 May 2014 20:37:39 +0200 Subject: Fix the build on OpenBSD and FreeBSD Without this change, the compiler uses by default the "talloc.h" file installed by the package libtalloc within /usr/local/include. Found and tested on OpenBSD but FreeBSD has the same patch on its ports tree. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 59bde8b703..7bc3a7ca25 100644 --- a/wscript +++ b/wscript @@ -818,7 +818,7 @@ def configure(ctx): ctx.load('detections.devices') if ctx.env.DEST_OS in ('freebsd', 'openbsd'): - ctx.env.CFLAGS += ['-I/usr/local/include'] + ctx.env.CFLAGS += ['-I.', '-I..', '-I/usr/local/include'] ctx.env.LINKFLAGS += ['-L/usr/local/lib'] if ctx.env.DEST_OS == 'netbsd': -- cgit v1.2.3