diff options
author | Juan Francisco Cantero Hurtado <iam@juanfra.info> | 2014-05-09 20:37:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-24 16:44:40 +0200 |
commit | a2259b3fd318204a862e2442afee1c78da54c913 (patch) | |
tree | 748069ec0721669214278671a3a04eca8a44464a | |
parent | aeeb7a92f221901badf45e76f1b70b253c979695 (diff) | |
download | mpv-a2259b3fd318204a862e2442afee1c78da54c913.tar.bz2 mpv-a2259b3fd318204a862e2442afee1c78da54c913.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.
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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': |