diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2016-04-08 12:01:28 -0400 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2016-04-08 12:01:28 -0400 |
commit | 7d19154e1852ad43af889505e19a36873d0e9c18 (patch) | |
tree | e52b09f48348664e47c8177b75c829cbb1c8fe92 | |
parent | e73caad0d76fe8710ae054f4bcdbad1a649dbb92 (diff) | |
download | spack-7d19154e1852ad43af889505e19a36873d0e9c18.tar.gz spack-7d19154e1852ad43af889505e19a36873d0e9c18.tar.bz2 spack-7d19154e1852ad43af889505e19a36873d0e9c18.tar.xz spack-7d19154e1852ad43af889505e19a36873d0e9c18.zip |
pkg-config: use the internal glib
glib requires pkg-config itself, so on machines without pkg-config,
there's a bootstrapping problem.
-rw-r--r-- | var/spack/repos/builtin/packages/pkg-config/package.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pkg-config/package.py b/var/spack/repos/builtin/packages/pkg-config/package.py index 9964c6ce34..a803bc3f9b 100644 --- a/var/spack/repos/builtin/packages/pkg-config/package.py +++ b/var/spack/repos/builtin/packages/pkg-config/package.py @@ -10,7 +10,12 @@ class PkgConfig(Package): parallel = False def install(self, spec, prefix): - configure("--prefix=%s" %prefix, "--enable-shared") + configure("--prefix=%s" %prefix, + "--enable-shared", + "--with-internal-glib") # There's a bootstrapping problem here; + # glib uses pkg-config as well, so + # break the cycle by using the internal + # glib. make() make("install") |