Run tests with `cross_comp_flags=True`

It means that we set `LD_LIBRARY_PATH` correctly.
This commit is contained in:
Matthieu Gautier 2023-10-20 15:12:12 +02:00
parent 0f60549215
commit 3d9d371759
1 changed files with 1 additions and 1 deletions

View File

@ -563,7 +563,7 @@ class MesonBuilder(Builder):
):
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):