mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-13 01:30:55 +00:00
fixes bug in build-toolchain when running on Power Mac
Running on a Power Mac + Tiger system, `uname -m` returns "Power Mac". Unless the result is quoted, it will get improperly split and the if conditional breaks.
This commit is contained in:
parent
0bbb21ad98
commit
f55df9e129
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user