aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/rpm.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-05-20 22:50:12 +0300
committerGitHub <noreply@github.com>2019-05-20 22:50:12 +0300
commitef024583df79d30c0011914603a3212fd139ca3a (patch)
treec4cc86b679c31f75b6ffdc2d1cb53a880539c9d2 /mesonbuild/modules/rpm.py
parentfb35e6faac2a5efbb8fd0ff6ee5627b144adb184 (diff)
parent146e97e974fe02f93e3fb20d2a1cb850255f69fc (diff)
downloadmeson-ef024583df79d30c0011914603a3212fd139ca3a.zip
meson-ef024583df79d30c0011914603a3212fd139ca3a.tar.gz
meson-ef024583df79d30c0011914603a3212fd139ca3a.tar.bz2
Merge pull request #5276 from dcbaker/pkg-config-path-invalidate-cache
coredata: add pkg_config_path to depedency cache key
Diffstat (limited to 'mesonbuild/modules/rpm.py')
-rw-r--r--mesonbuild/modules/rpm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/rpm.py b/mesonbuild/modules/rpm.py
index 7c1cefb..b99ae8d 100644
--- a/mesonbuild/modules/rpm.py
+++ b/mesonbuild/modules/rpm.py
@@ -83,7 +83,7 @@ class RPMModule(ExtensionModule):
fn.write('BuildRequires: meson\n')
for compiler in required_compilers:
fn.write('BuildRequires: %s\n' % compiler)
- for dep in coredata.environment.coredata.deps:
+ for dep in coredata.environment.coredata.deps.host:
fn.write('BuildRequires: pkgconfig(%s)\n' % dep[0])
# ext_libs and ext_progs have been removed from coredata so the following code
# no longer works. It is kept as a reminder of the idea should anyone wish