Skip to content

Commit 806482d

Browse files
committed
Merge pull request #82007 from bruvzg/pcre_fix
[macOS, 3.x] Change target version to 11.0+ to fix PCRE SLJIT build.
2 parents 0640112 + 233f211 commit 806482d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

platform/osx/detect.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ def configure(env):
7878
env["osxcross"] = True
7979

8080
if env["arch"] == "arm64":
81-
print("Building for macOS 10.15+, platform arm64.")
82-
env.Append(ASFLAGS=["-arch", "arm64", "-mmacosx-version-min=10.15"])
83-
env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=10.15"])
84-
env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=10.15"])
81+
print("Building for macOS 11.0+, platform arm64.")
82+
env.Append(ASFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.0"])
83+
env.Append(CCFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.0"])
84+
env.Append(LINKFLAGS=["-arch", "arm64", "-mmacosx-version-min=11.0"])
8585
else:
8686
print("Building for macOS 10.13+, platform x86-64.")
8787
env.Append(ASFLAGS=["-arch", "x86_64", "-mmacosx-version-min=10.13"])

0 commit comments

Comments
 (0)