forked from lix-project/lix
Use com.apple.oahd.plist for rosetta 2 detection
This commit is contained in:
parent
4b9acf4e21
commit
3c9b7029ba
|
@ -140,7 +140,7 @@ StringSet Settings::getDefaultExtraPlatforms()
|
|||
// machines. Note that we can’t force processes from executing
|
||||
// x86_64 in aarch64 environments or vice versa since they can
|
||||
// always exec with their own binary preferences.
|
||||
else if (pathExists("/Library/Apple/usr/libexec/oah")) {
|
||||
else if (pathExists("/Library/Apple/System/Library/LaunchDaemons/com.apple.oahd.plist")) {
|
||||
if (std::string{SYSTEM} == "x86_64-darwin")
|
||||
return StringSet{"aarch64-darwin"};
|
||||
else if (std::string{SYSTEM} == "aarch64-darwin")
|
||||
|
|
Loading…
Reference in a new issue