From 3d9d37175921ed31be02899ec50a0b0c3e1fc670 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Fri, 20 Oct 2023 15:12:12 +0200 Subject: [PATCH] Run tests with `cross_comp_flags=True` It means that we set `LD_LIBRARY_PATH` correctly. --- kiwixbuild/dependencies/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiwixbuild/dependencies/base.py b/kiwixbuild/dependencies/base.py index 68b8a81b..a35ba78d 100644 --- a/kiwixbuild/dependencies/base.py +++ b/kiwixbuild/dependencies/base.py @@ -563,7 +563,7 @@ def _test(self, context): ): raise SkipCommand() command = "{} --verbose {}".format(neutralEnv('mesontest_command'), self.test_option) - env = self.get_env(cross_comp_flags=False, cross_compilers=False, cross_path=True) + env = self.get_env(cross_comp_flags=True, cross_compilers=False, cross_path=True) run_command(command, self.build_path, context, env=env) def _install(self, context):