commit:     790893167b44f6acc7677bebb2301809093320b6
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 24 11:24:43 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Nov 24 11:24:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=79089316

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 <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)"
 

Reply via email to