aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/unstable_external_project.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/modules/unstable_external_project.py')
-rw-r--r--mesonbuild/modules/unstable_external_project.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/mesonbuild/modules/unstable_external_project.py b/mesonbuild/modules/unstable_external_project.py
index d2c5b22..33a44d9 100644
--- a/mesonbuild/modules/unstable_external_project.py
+++ b/mesonbuild/modules/unstable_external_project.py
@@ -155,9 +155,8 @@ class ExternalProject(NewExtensionModule):
self.run_env['LDFLAGS'] = self._quote_and_join(link_args)
self.run_env = self.user_env.get_env(self.run_env)
-
- PkgConfigDependency.setup_env(self.run_env, self.env, MachineChoice.HOST,
- Path(self.env.get_build_dir(), 'meson-uninstalled').as_posix())
+ self.run_env = PkgConfigDependency.setup_env(self.run_env, self.env, MachineChoice.HOST,
+ uninstalled=True)
self.build_dir.mkdir(parents=True, exist_ok=True)
self._run('configure', configure_cmd, workdir)