summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2016-02-01 18:35:52 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2016-02-01 18:35:52 +0100
commit2051d59c8a427c65f58519ffad47a84f696bc11a (patch)
tree447d5efcfdcdb6e842048cb0948ef89fd6e597be
parent3f2c86fe4299ec5326ec060a3c778c7aa9fbca72 (diff)
downloadmpv-openbsd-iconv.tar.bz2
mpv-openbsd-iconv.tar.xz
-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 8c035513b2..ad6a4f4295 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 == 'darwin':
+ if ctx.env.DEST_OS == 'openbsd':
args['cflags'] = '-I/usr/local/include'
args['linkflags'] = '-L/usr/local/lib'
checkfn = check_cc(**args)