summaryrefslogtreecommitdiffstats
path: root/waftools/checks
diff options
context:
space:
mode:
authorq66 <daniel@octaforge.org>2016-05-10 22:00:01 +0100
committerwm4 <wm4@nowhere>2016-05-10 23:03:53 +0200
commitbea76753078c2602c2fc67dc06ce13141560cf0d (patch)
tree2b0057d9240c10598eee86d80b950de65d0387e3 /waftools/checks
parent1f6e71c7faed4b44ec2c50519f8c1f6734d81eea (diff)
downloadmpv-bea76753078c2602c2fc67dc06ce13141560cf0d.tar.bz2
mpv-bea76753078c2602c2fc67dc06ce13141560cf0d.tar.xz
build: also use the iconv check on freebsd
This is necessary to make mpv build out of box on FreeBSD.
Diffstat (limited to 'waftools/checks')
-rw-r--r--waftools/checks/custom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py
index ad6a4f4295..b570b4b836 100644
--- a/waftools/checks/custom.py
+++ b/waftools/checks/custom.py
@@ -47,7 +47,7 @@ def check_iconv(ctx, dependency_identifier):
libdliconv = " ".join(ctx.env.LIB_LIBDL + ['iconv'])
libs = ['iconv', libdliconv]
args = {'fragment': iconv_program}
- if ctx.env.DEST_OS == 'openbsd':
+ if ctx.env.DEST_OS == 'openbsd' or ctx.env.DEST_OS == 'freebsd':
args['cflags'] = '-I/usr/local/include'
args['linkflags'] = '-L/usr/local/lib'
checkfn = check_cc(**args)