diff options
author | Michael Kuhn <suraia@ikkoku.de> | 2017-11-23 16:05:38 +0100 |
---|---|---|
committer | Christoph Junghans <christoph.junghans@gmail.com> | 2017-11-23 08:05:38 -0700 |
commit | 5bbbfe94462c06aa99fd6d4ee802955135d1de9b (patch) | |
tree | d86813330bc9681813fedef320e0802f6b2bf0f8 /lib | |
parent | 7f0659f03271872359c4db3c39d4c6ae05f0867a (diff) | |
download | spack-5bbbfe94462c06aa99fd6d4ee802955135d1de9b.tar.gz spack-5bbbfe94462c06aa99fd6d4ee802955135d1de9b.tar.bz2 spack-5bbbfe94462c06aa99fd6d4ee802955135d1de9b.tar.xz spack-5bbbfe94462c06aa99fd6d4ee802955135d1de9b.zip |
Introduce virtual dependency pkgconfig (#5198)
There are two providers, pkgconf and pkg-config, with the former being
the default provider.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_systems/autotools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py index 8f2af3e21e..f39eed6997 100644 --- a/lib/spack/spack/build_systems/autotools.py +++ b/lib/spack/spack/build_systems/autotools.py @@ -221,10 +221,10 @@ class AutotoolsPackage(PackageBase): # This line is what is needed most of the time # --install, --verbose, --force autoreconf_args = ['-ivf'] - if 'pkg-config' in spec: + if 'pkgconfig' in spec: autoreconf_args += [ '-I', - join_path(spec['pkg-config'].prefix, 'share', 'aclocal'), + join_path(spec['pkgconfig'].prefix, 'share', 'aclocal'), ] autoreconf_args += self.autoreconf_extra_args m.autoreconf(*autoreconf_args) |