Fix universal builds on Darwin PPC: add ppc7400 definition

0.61
barracuda156 3 years ago committed by Nirbheek Chauhan
parent 79e63ef223
commit 261ce1e47a
  1. 1
      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'

Loading…
Cancel
Save