aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib
diff options
context:
space:
mode:
authorbarracuda156 <vital.had@gmail.com>2022-04-10 08:16:46 +0800
committerEli Schwartz <eschwartz93@gmail.com>2022-04-19 11:45:24 -0400
commitaa2025cf9785d184386596578a85cd5523c88bc3 (patch)
tree3a883e55c3d8ab4724c86b67fd46839be88a738c /mesonbuild/mesonlib
parent1b9c4b7192ef9a5fd5850f5b2d6f6cb43ee1623a (diff)
downloadmeson-aa2025cf9785d184386596578a85cd5523c88bc3.zip
meson-aa2025cf9785d184386596578a85cd5523c88bc3.tar.gz
meson-aa2025cf9785d184386596578a85cd5523c88bc3.tar.bz2
Fix universal builds on Darwin PPC: add ppc7400 definition
Diffstat (limited to 'mesonbuild/mesonlib')
-rw-r--r--mesonbuild/mesonlib/universal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py
index dd8473e..d0e4e42 100644
--- a/mesonbuild/mesonlib/universal.py
+++ b/mesonbuild/mesonlib/universal.py
@@ -710,6 +710,7 @@ def darwin_get_object_archs(objpath: str) -> 'ImmutableListProtocol[str]':
# Convert from lipo-style archs to meson-style CPUs
stdo = stdo.replace('i386', 'x86')
stdo = stdo.replace('arm64', 'aarch64')
+ stdo = stdo.replace('ppc7400', 'ppc')
# Add generic name for armv7 and armv7s
if 'armv7' in stdo:
stdo += ' arm'