Append system PKG_CONFIG_PATH on Cray instead of prepend (#3766)
This commit is contained in:
parent
b91bf0e067
commit
bd9213a55f
@ -49,8 +49,8 @@ def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
|
||||
"""spack built pkg-config on cray's requires adding /usr/local/
|
||||
and /usr/lib64/ to PKG_CONFIG_PATH in order to access cray '.pc'
|
||||
files."""
|
||||
spack_env.prepend_path('PKG_CONFIG_PATH', '/usr/lib64/pkgconfig')
|
||||
spack_env.prepend_path('PKG_CONFIG_PATH', '/usr/local/lib64/pkgconfig')
|
||||
spack_env.append_path('PKG_CONFIG_PATH', '/usr/lib64/pkgconfig')
|
||||
spack_env.append_path('PKG_CONFIG_PATH', '/usr/local/lib64/pkgconfig')
|
||||
|
||||
def configure_args(self):
|
||||
config_args = ['--enable-shared']
|
||||
|
Loading…
Reference in New Issue
Block a user