Skip to content

Commit 344d6e2

Browse files
committed
[build-script] Fix Python error for Android
#2880 appends a `Target` instance to an array of strings when building Android. This causes a syntax error when building Android. Fix the error to repair the Android build.
1 parent 07e7949 commit 344d6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ class BuildScriptInvocation(object):
393393
# Add optional stdlib-deployment-targets
394394
if args.android:
395395
args.stdlib_deployment_targets.append(
396-
StdlibDeploymentTarget.Android.armv7)
396+
StdlibDeploymentTarget.Android.armv7.name)
397397

398398
def __init__(self, toolchain, args):
399399
self.toolchain = toolchain

0 commit comments

Comments
 (0)