makepanda: fix error when building on Android without specifying --target

This commit is contained in:
rdb 2019-12-07 14:32:09 +01:00
parent 791be4766a
commit 4f4b79295f

View File

@ -2479,6 +2479,8 @@ def SdkLocateAndroid():
return return
# Allow ANDROID_API/ANDROID_ABI to be used in makepanda.py. # Allow ANDROID_API/ANDROID_ABI to be used in makepanda.py.
if ANDROID_API is None:
SetTarget('android')
api = ANDROID_API api = ANDROID_API
SDK["ANDROID_API"] = api SDK["ANDROID_API"] = api