We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f1201b commit d5df06bCopy full SHA for d5df06b
pythonforandroid/recipes/openal/__init__.py
@@ -20,10 +20,16 @@ def prebuild_arch(self, arch):
20
def build_arch(self, arch):
21
with current_directory(self.get_build_dir(arch.arch)):
22
env = self.get_recipe_env(arch)
23
+ cmake_args = [
24
+ '-DCMAKE_TOOLCHAIN_FILE={}'.format('XCompile-Android.txt'),
25
+ '-DHOST={}'.format(self.ctx.toolchain_prefix)
26
+ ]
27
+ if self.ctx.ndk == 'crystax':
28
+ # avoids a segfault in libcrystax when calling lrintf
29
+ cmake_args += ['-DHAVE_LRINTF=0']
30
shprint(
31
sh.cmake, '.',
- '-DCMAKE_TOOLCHAIN_FILE={}'.format('XCompile-Android.txt'),
- '-DHOST={}'.format(self.ctx.toolchain_prefix),
32
+ *cmake_args,
33
_env=env
34
)
35
shprint(sh.make, _env=env)
0 commit comments