From 7c0f51c486c79e89f5f8b5e87f58df2965b804e4 Mon Sep 17 00:00:00 2001
From: "Steven R. Loomis" <srl295@gmail.com>
Date: Mon, 19 Aug 2024 10:22:10 -0500
Subject: [PATCH] fix(core): set mac build version for meson cli build to 10.13

- add as option to compiler
- Match version in #11302

Fixes: #11423
---
 core/cross-mac-arm64.build  | 6 +++---
 core/cross-mac-x86_64.build | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/core/cross-mac-arm64.build b/core/cross-mac-arm64.build
index 720e9f31007..faf3e6e9c15 100644
--- a/core/cross-mac-arm64.build
+++ b/core/cross-mac-arm64.build
@@ -5,9 +5,9 @@ cpu = 'arm64'
 endian = 'little'
 
 [binaries]
-c = ['clang', '-arch', 'arm64']
-objc = ['clang', '-arch', 'arm64']
-cpp = ['clang++', '-arch', 'arm64']
+c = ['clang', '-arch', 'arm64', '-mmacosx-version-min=10.13']
+objc = ['clang', '-arch', 'arm64', '-mmacosx-version-min=10.13']
+cpp = ['clang++', '-arch', 'arm64', '-mmacosx-version-min=10.13']
 ar = 'ar'
 ld = 'ld'
 strip = 'strip'
diff --git a/core/cross-mac-x86_64.build b/core/cross-mac-x86_64.build
index 2ab2c62a600..3378fe11a40 100644
--- a/core/cross-mac-x86_64.build
+++ b/core/cross-mac-x86_64.build
@@ -5,9 +5,9 @@ cpu = 'x86_64'
 endian = 'little'
 
 [binaries]
-c = ['clang', '-arch', 'x86_64']
-objc = ['clang', '-arch', 'x86_64']
-cpp = ['clang++', '-arch', 'x86_64']
+c = ['clang', '-arch', 'x86_64', '-mmacosx-version-min=10.13']
+objc = ['clang', '-arch', 'x86_64', '-mmacosx-version-min=10.13']
+cpp = ['clang++', '-arch', 'x86_64', '-mmacosx-version-min=10.13']
 ar = 'ar'
 ld = 'ld'
 strip = 'strip'