summaryrefslogtreecommitdiffstats
path: root/waftools/checks/custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'waftools/checks/custom.py')
-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)