8000 Merge pull request #1484 from JonasT/fixbrokenargdefault · DXCanas/python-for-android@80da6a3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 80da6a3

Browse files
authored
Merge pull request kivy#1484 from JonasT/fixbrokenargdefault
Fix broken --ndk-api default value
2 parents 5a22c35 + 6c891ff commit 80da6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/toolchain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def __init__(self):
261261
help=('The version of the Android NDK. This is optional: '
262262
'we try to work it out automatically from the ndk_dir.'))
263263
generic_parser.add_argument(
264-
'--ndk-api', type=int, default=0,
264+
'--ndk-api', type=int, default=None,
265265
help=('The Android API level to compile against. This should be your '
266266
'*minimal supported* API, not normally the same as your --android-api. '
267267
'Defaults to min(ANDROID_API, {}) if not specified.').format(DEFAULT_NDK_API))

0 commit comments

Comments
 (0)
0