mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-08 10:31:50 -05:00
guix: only check for the macOS SDK once
If we are building for both macOS HOSTS, there's no need to check and print that the SDK exists two times.
This commit is contained in:
parent
05957a888d
commit
e8023100be
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,7 @@ else
|
|||
fi
|
||||
|
||||
################
|
||||
# When building for darwin, the macOS SDK should exists
|
||||
# When building for darwin, the macOS SDK should exist
|
||||
################
|
||||
|
||||
for host in $HOSTS; do
|
||||
|
@ -130,6 +130,7 @@ for host in $HOSTS; do
|
|||
OSX_SDK="$(make -C "${PWD}/depends" --no-print-directory HOST="$host" print-OSX_SDK | sed 's@^[^=]\+=@@g')"
|
||||
if [ -e "$OSX_SDK" ]; then
|
||||
echo "Found macOS SDK at '${OSX_SDK}', using..."
|
||||
break
|
||||
else
|
||||
echo "macOS SDK does not exist at '${OSX_SDK}', please place the extracted, untarred SDK there to perform darwin builds, exiting..."
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue