macOS build: build Boost with same custom iconv as rest of MKVToolNix

This commit is contained in:
Moritz Bunkus 2019-09-27 14:24:15 +02:00
parent 71c6319e26
commit e43d58994b
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85
2 changed files with 4 additions and 4 deletions

View File

@ -1035,15 +1035,15 @@ end
# libraries required for all programs via mtxcommon
$common_libs = [
:boost_filesystem,
:boost_regex,
:boost_system,
:magic,
:flac,
:z,
:pugixml,
:intl,
:iconv,
:boost_regex,
:boost_filesystem,
:boost_system,
:fmt,
]

View File

@ -243,7 +243,7 @@ function build_gettext {
function build_boost {
local -a args properties
args=(--reconfigure -sICONV_PATH=/usr -j$DRAKETHREADS --prefix=TMPDIR/${TARGET} --libdir=TMPDIR/${TARGET}/lib)
args=(--reconfigure -sICONV_PATH=${TARGET} -j$DRAKETHREADS --prefix=TMPDIR/${TARGET} --libdir=TMPDIR/${TARGET}/lib)
properties=(toolset=clang link=static variant=release)
if [[ -n $CXXFLAGS ]] properties+=(cxxflags="${(q)CXXFLAGS}")
if [[ -n $LDFLAGS ]] properties+=(linkflags="${(q)LDFLAGS}")