mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-28 05:49:33 +00:00
Get the "source" zim-testing-suite
step.
The source step (install source) always exists. The `plaformInfo.name` step may not exists (On mixed target, we build all deps static and the last project dyn) So the `native_dyn` doesn't exists for `zim-testing-suite`.
This commit is contained in:
@ -20,7 +20,7 @@ class Libzim(Dependency):
|
||||
@property
|
||||
def configure_option(self):
|
||||
platformInfo = self.buildEnv.platformInfo
|
||||
zim_testing_suite = get_target_step('zim-testing-suite', platformInfo.name)
|
||||
zim_testing_suite = get_target_step('zim-testing-suite', 'source')
|
||||
config_options = ['-Dtest_data_dir={}'.format(zim_testing_suite.source_path)]
|
||||
if platformInfo.build == 'android':
|
||||
config_options.append("-DUSE_BUFFER_HEADER=false")
|
||||
|
Reference in New Issue
Block a user