mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-23 23:29:17 +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
|
if [ `uname` = Darwin ]; then
|
||||||
# present-day Mac users are likely to install dependencies
|
# present-day Mac users are likely to install dependencies
|
||||||
# via the homebrew package manager
|
# via the homebrew package manager
|
||||||
if [ `uname -m` = arm64 ]; then
|
if [ "`uname -m`" = arm64 ]; then
|
||||||
export CPPFLAGS="-I/opt/homebrew/include"
|
export CPPFLAGS="-I/opt/homebrew/include"
|
||||||
export LDFLAGS="-L/opt/homebrew/lib"
|
export LDFLAGS="-L/opt/homebrew/lib"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user