diff options
author | 2020-11-24 12:24:43 +0100 | |
---|---|---|
committer | 2020-11-24 12:24:43 +0100 | |
commit | 790893167b44f6acc7677bebb2301809093320b6 (patch) | |
tree | f0a71b828d89d051fcd93deaf8018b6e601e07e4 | |
parent | scripts/bootstrap-prefix: rework Xcode checks (diff) | |
download | prefix-790893167b44f6acc7677bebb2301809093320b6.tar.gz prefix-790893167b44f6acc7677bebb2301809093320b6.tar.bz2 prefix-790893167b44f6acc7677bebb2301809093320b6.zip |
scripts/bootstrap-prefix: give macOS SDK with predictable name
it appears sometimes the SDK in use is called MacOSX.sdk, sometimes it's
something like MacOSX10.14.sdk, ensure it's always the same name
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 3224bb47b5..63840ce431 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -505,7 +505,7 @@ bootstrap_setup() { if [[ ${DARWIN_USE_GCC} == 1 ]] ; then # setup MacOSX.sdk symlink for GCC, this should probably be # managed using an eselect module in the future - ( cd ${ROOT} && ln -s $(xcrun --show-sdk-path --sdk macosx) ) + ( cd ${ROOT} && ln -s $(xcrun --show-sdk-path --sdk macosx) MacOSX.sdk ) einfo "using system sources from $(\ xcrun --show-sdk-version --sdk macosx)" |