From bea76753078c2602c2fc67dc06ce13141560cf0d Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 10 May 2016 22:00:01 +0100 Subject: build: also use the iconv check on freebsd This is necessary to make mpv build out of box on FreeBSD. --- waftools/checks/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'waftools') 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) -- cgit v1.2.3