diff options
author | Juan Francisco Cantero Hurtado <iam@juanfra.info> | 2014-05-09 20:37:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-21 02:23:23 +0200 |
commit | 38c8f5ea575233ade4d77ebbf10ee618271fbbaf (patch) | |
tree | 8c6e5e6ea055d5b3f744a43a56c0b5cea54809bf /wscript | |
parent | c0641c63fc91652da539c366e044c8748bdcca32 (diff) | |
download | mpv-38c8f5ea575233ade4d77ebbf10ee618271fbbaf.tar.bz2 mpv-38c8f5ea575233ade4d77ebbf10ee618271fbbaf.tar.xz |
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.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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': |