From 261ce1e47a86b81b1dd826d68a78611af756e8c7 Mon Sep 17 00:00:00 2001 From: barracuda156 Date: Sun, 10 Apr 2022 08:16:46 +0800 Subject: [PATCH] Fix universal builds on Darwin PPC: add ppc7400 definition --- mesonbuild/mesonlib/universal.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py index 8239d6fe2..eda872953 100644 --- a/mesonbuild/mesonlib/universal.py +++ b/mesonbuild/mesonlib/universal.py @@ -696,6 +696,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'