Skip to content

Commit e146dd1

Browse files
authored
Update __init__.py
1 parent 2a7dc16 commit e146dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pythonforandroid/recipes/audiostream/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ def get_recipe_env(self, arch):
1616
sdl_include = 'sdl'
1717
sdl_mixer_include = 'sdl_mixer'
1818
elif 'sdl2' in self.ctx.recipe_build_order:
19-
sdl_include = 'SDL'
19+
sdl_include = 'SDL2'
2020
sdl_mixer_include = 'SDL2_mixer'
2121

2222
#note: audiostream library is not yet able to judge whether it is being used with sdl or with sdl2.
2323
#this causes linking to fail against SDL2 (compiling against SDL2 works)
2424
#need to find a way to fix this in audiostream's setup.py
25-
raise RuntimeError('Audiostream library is not yet able to configure itself to link against SDL2. Patch on audiostream library needed - any help much appreciated!')
25+
#raise RuntimeError('Audiostream library is not yet able to configure itself to link against SDL2. Patch on audiostream library needed - any help much appreciated!')
2626

2727
env = super(AudiostreamRecipe, self).get_recipe_env(arch)
2828
env['CFLAGS'] += ' -I{jni_path}/{sdl_include}/include -I{jni_path}/{sdl_mixer_include}'.format(

0 commit comments

Comments
 (0)