mirror of https://github.com/mpv-player/mpv
build: also use the iconv check on freebsd
This is necessary to make mpv build out of box on FreeBSD.
This commit is contained in:
parent
1f6e71c7fa
commit
bea7675307
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue