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.
This commit is contained in:
Juan Francisco Cantero Hurtado 2014-05-09 20:37:39 +02:00 committed by wm4
parent c0641c63fc
commit 38c8f5ea57
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,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':