makepanda: Use correct .so suffix on Android

This commit is contained in:
rdb 2025-11-05 12:48:29 +01:00
parent e524dc9766
commit e9fddf6839
1 changed files with 4 additions and 0 deletions

View File

@ -3426,6 +3426,10 @@ def GetExtensionSuffix():
abi = GetPythonABI()
arch = GetTargetArch()
return '.{0}-{1}-emscripten.so'.format(abi, arch)
elif target == 'android':
abi = GetPythonABI()
triple = ANDROID_TRIPLE.rstrip('0123456789')
return '.{0}-{1}.so'.format(abi, triple)
elif CrossCompiling():
return '.{0}.so'.format(GetPythonABI())
else: