Allow setting the osxcross target

pull/1361/head
werner mendizabal 2024-01-15 15:24:10 -06:00
parent 0ddef6ed96
commit f157211eb5
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ def options(opts):
opts.Add("macos_deployment_target", "macOS deployment target", "default") opts.Add("macos_deployment_target", "macOS deployment target", "default")
opts.Add("macos_sdk_path", "macOS SDK path", "") opts.Add("macos_sdk_path", "macOS SDK path", "")
if has_osxcross(): if has_osxcross():
opts.Add("osxcross_sdk", "OSXCross SDK version", "darwin16") osxcross_sdk = os.environ.get("OSXCROSS_TARGET", "darwin16")
opts.Add("osxcross_sdk", "OSXCross SDK version", osxcross_sdk)
def exists(env): def exists(env):