cc-wrapper: Don't hardcode MacOS min version for delegates

This commit is contained in:
John Ericson 2017-08-01 16:31:38 -04:00 committed by John Ericson
parent 2e61d8b71c
commit cd6c452ade
1 changed files with 2 additions and 2 deletions

View File

@ -86,14 +86,14 @@ else
fi
# first half of libs
@binPrefix@ld -macosx_version_min 10.10 -arch x86_64 -dylib \
@binPrefix@ld -macosx_version_min $MACOSX_DEPLOYMENT_TARGET -arch x86_64 -dylib \
-o "$out/lib/lib${children[0]}.dylib" \
-install_name "$out/lib/lib${children[0]}.dylib" \
"${childrenLookup[@]}" "$symbolBloatObject" \
"${childrenLink[@]:0:$((${#childrenLink[@]} / 2 ))}"
# second half of libs
@binPrefix@ld -macosx_version_min 10.10 -arch x86_64 -dylib \
@binPrefix@ld -macosx_version_min $MACOSX_DEPLOYMENT_TARGET -arch x86_64 -dylib \
-o "$out/lib/lib${children[1]}.dylib" \
-install_name "$out/lib/lib${children[1]}.dylib" \
"${childrenLookup[@]}" "$symbolBloatObject" \