mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-27 21:39:34 +00:00
Fix compilation of kiwix-lib-app.
- We should not try to set the cross compilation flags when we use gradle. - Fix anyway the setting of tho cross compilation flags for android sdk platform (the default implementation use the `static` attributes that doesn't exist for android)
This commit is contained in:
@ -524,5 +524,5 @@ class GradleBuilder(Builder):
|
||||
command = command.format(
|
||||
gradle_target=self.gradle_target,
|
||||
gradle_option=self.gradle_option)
|
||||
env = self.buildEnv.get_env(cross_comp_flags=True, cross_compilers=True, cross_path=True)
|
||||
env = self.buildEnv.get_env(cross_comp_flags=False, cross_compilers=True, cross_path=True)
|
||||
run_command(command, self.build_path, context, env=env)
|
||||
|
Reference in New Issue
Block a user