Skip to content

Commit

Permalink
cc-wrapper: Don't hardcode MacOS min version for delegates
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Aug 3, 2017
1 parent 2e61d8b commit cd6c452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/build-support/cc-wrapper/macos-sierra-reexport-hack.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit cd6c452

Please sign in to comment.