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:
1 parent
c0641c63fc
commit
38c8f5ea57
1 file changed
+1
-1
@@ -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':
|
||||
|
||||
Reference in new issue
Block a user