File tree Expand file tree Collapse file tree 2 files changed +929
-1104
lines changed Expand file tree Collapse file tree 2 files changed +929
-1104
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,8 @@ class BuildScriptInvocation(object):
227
227
diagnostics .fatal (
228
228
"can't find distcc-pump (please install distcc-pump)" )
229
229
230
- if args .host_target is None or args .stdlib_deployment_targets is None :
230
+ if args .host_target is None \
231
+ or len (args .stdlib_deployment_targets ) == 0 :
231
232
diagnostics .fatal ("unknown operating system" )
232
233
233
234
if args .symbols_package :
@@ -263,7 +264,7 @@ class BuildScriptInvocation(object):
263
264
args .build_ninja = True
264
265
265
266
# Set the default stdlib-deployment-targets, if none were provided.
266
- if args .stdlib_deployment_targets is None :
267
+ if len ( args .stdlib_deployment_targets ) == 0 :
267
268
stdlib_targets = \
268
269
StdlibDeploymentTarget .default_stdlib_deployment_targets ()
269
270
args .stdlib_deployment_targets = [
You can’t perform that action at this time.
0 commit comments