Merge pull request #137 from fairfieldt/fix-build-toolchain-powermac

fixes bug in build-toolchain when running on Power Mac
This commit is contained in:
Wolfgang Thaller 2021-05-07 08:35:40 +02:00 committed by GitHub
commit 8d32c583ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ if [ $SKIP_THIRDPARTY != true ]; then
if [ `uname` = Darwin ]; then
# present-day Mac users are likely to install dependencies
# via the homebrew package manager
if [ `uname -m` = arm64 ]; then
if [ "`uname -m`" = arm64 ]; then
export CPPFLAGS="-I/opt/homebrew/include"
export LDFLAGS="-L/opt/homebrew/lib"
else