include share/pkgconfig in user environments (#19909)
According to the documentation for spack and pkg-config, $view/share/pkgconfig should also be a valid place to look for package config files. This commit ensures that when spack activate env $dir is called, the environment has this directory in PKG_CONFIG_PATH.
This commit is contained in:
parent
7562e53a5a
commit
f359664493
@ -35,6 +35,7 @@ def prefix_inspections(platform):
|
||||
'include': ['CPATH'],
|
||||
'lib/pkgconfig': ['PKG_CONFIG_PATH'],
|
||||
'lib64/pkgconfig': ['PKG_CONFIG_PATH'],
|
||||
'share/pkgconfig': ['PKG_CONFIG_PATH'],
|
||||
'': ['CMAKE_PREFIX_PATH']
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user