Skip to content

Commit 6d6394d

Browse files
committed
Fix compile error of recipe "android" for non-sdl bootstrap build
1 parent fca5fc1 commit 6d6394d

File tree

1 file changed

+1
-1
lines changed
  • pythonforandroid/recipes/android/src

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/android/src/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
'pygame': ['sdl'],
77
'sdl2': ['SDL2', 'SDL2_image', 'SDL2_mixer', 'SDL2_ttf']
88
}
9-
sdl_libs = lib_dict[os.environ['BOOTSTRAP']]
9+
sdl_libs = lib_dict.get(os.environ['BOOTSTRAP'], [])
1010

1111
renpy_sound = Extension('android._android_sound',
1212
['android/_android_sound.c', 'android/_android_sound_jni.c', ],

0 commit comments

Comments
 (0)