summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2019-10-06 04:03:35 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2019-10-05 21:03:35 -0500
commitbdb92f2d91605dd8a93ef16f0d7fcf6595f5b012 (patch)
treef99f3df188744d4e44db47e380bf1cc7bc0c5b22 /etc
parentc6b8d79ea6960609ec62fada1ab210725a464886 (diff)
downloadspack-bdb92f2d91605dd8a93ef16f0d7fcf6595f5b012.tar.gz
spack-bdb92f2d91605dd8a93ef16f0d7fcf6595f5b012.tar.bz2
spack-bdb92f2d91605dd8a93ef16f0d7fcf6595f5b012.tar.xz
spack-bdb92f2d91605dd8a93ef16f0d7fcf6595f5b012.zip
Consistently support pkg-config files in share subdirectory (#12838)
While the build environment already takes share/pkgconfig into account, the generated module files etc. only consider lib/pkgconfig and lib64/pkgconfig.
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/modules.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/spack/defaults/modules.yaml b/etc/spack/defaults/modules.yaml
index 1d91b0c88c..77c976510b 100644
--- a/etc/spack/defaults/modules.yaml
+++ b/etc/spack/defaults/modules.yaml
@@ -35,6 +35,8 @@ modules:
- PKG_CONFIG_PATH
lib64/pkgconfig:
- PKG_CONFIG_PATH
+ share/pkgconfig:
+ - PKG_CONFIG_PATH
'':
- CMAKE_PREFIX_PATH