From 26210b37edf2fb9e12e330f519da3a97f8b36fd0 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 23 May 2019 21:34:06 -0700 Subject: [PATCH] Update to 10.9 min deployment version, and try not explicitly setting the SDK (cherry picked from commit dcb06f6f18dc04038f60761c6da7f536a702f9c8) --- buildtools/build_wxwidgets.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/buildtools/build_wxwidgets.py b/buildtools/build_wxwidgets.py index 9d4c5681..802b8233 100644 --- a/buildtools/build_wxwidgets.py +++ b/buildtools/build_wxwidgets.py @@ -301,16 +301,16 @@ def main(wxDir, args): # version present on the build machine. # TODO: should there be a command line option to set the SDK? if sys.platform.startswith("darwin"): - wxpy_configure_opts.append("--with-macosx-version-min=10.6") - for xcodePath in getXcodePaths(): - sdks = [ xcodePath+"/SDKs/MacOSX10.{}.sdk".format(n) - for n in range(6, 15) ] - # use the lowest available sdk on the build machine - for sdk in sdks: - if os.path.exists(sdk): - wxpy_configure_opts.append( - "--with-macosx-sdk=%s" % sdk) - break + wxpy_configure_opts.append("--with-macosx-version-min=10.9") + # for xcodePath in getXcodePaths(): + # sdks = [ xcodePath+"/SDKs/MacOSX10.{}.sdk".format(n) + # for n in range(9, 15) ] + # # use the lowest available sdk on the build machine + # for sdk in sdks: + # if os.path.exists(sdk): + # wxpy_configure_opts.append( + # "--with-macosx-sdk=%s" % sdk) + # break if not options.mac_framework: if installDir and not prefixDir: