Commit 09c066e 1 parent e141c95 commit 09c066e Copy full SHA for 09c066e
File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -298,16 +298,14 @@ def main(wxDir, args):
298
298
else :
299
299
wxpy_configure_opts .append ("--with-sdl" )
300
300
301
- # Try to use use lowest available SDK back to 10.5. Both Carbon and
302
- # Cocoa builds require at least the 10.5 SDK now. We only add it to
303
- # the wxpy options because this is a hard-requirement for wxPython,
304
- # but other cases it is optional and is left up to the developer.
305
- # TODO: there should be a command line option to set the SDK...
301
+ # Set the minimum supported OSX version, and find the oldest SDK
302
+ # version present on the build machine.
303
+ # TODO: should there be a command line option to set the SDK?
306
304
if sys .platform .startswith ("darwin" ):
305
+ wxpy_configure_opts .append ("--with-macosx-version-min=10.6" )
307
306
for xcodePath in getXcodePaths ():
308
307
sdks = [ xcodePath + "/SDKs/MacOSX10.{}.sdk" .format (n )
309
- for n in range (5 , 15 ) ]
310
-
308
+ for n in range (6 , 15 ) ]
311
309
# use the lowest available sdk on the build machine
312
310
for sdk in sdks :
313
311
if os .path .exists (sdk ):
You can’t perform that action at this time.
0 commit comments