Skip to content

Commit 1133e0d

Browse files
committed
Test a fix on ffpyplayer
1 parent 64deff0 commit 1133e0d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pythonforandroid/recipes/ffpyplayer/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ def get_recipe_env(self, arch, with_flags_in_cc=True):
2222
env["USE_SDL2_MIXER"] = '1'
2323
env["SDL2_MIXER_INCLUDE_DIR"] = join(self.ctx.bootstrap.build_dir, 'jni', 'SDL2_mixer')
2424

25+
# NDKPLATFORM and LIBLINK are our switches for detecting Android platform, so can't be empty
26+
# FIXME: We may want to introduce a cleaner approach to this?
27+
env['NDKPLATFORM'] = "NOTNONE"
28+
env['LIBLINK'] = 'NOTNONE'
29+
2530
# ffmpeg recipe enables GPL components only if ffpyplayer_codecs recipe used.
2631
# Therefor we need to disable libpostproc if skipped.
2732
if 'ffpyplayer_codecs' not in self.ctx.recipe_build_order:

0 commit comments

Comments
 (0)