diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2017-04-08 20:50:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-08 20:50:16 -0500 |
commit | bd9213a55fecfefd2b67de0383bfb568a58438f0 (patch) | |
tree | e451fc3ac2a5e76853b09c066149979b1d993f6c | |
parent | b91bf0e067c61bbaa443af1356fbaf9907ad9f7c (diff) | |
download | spack-bd9213a55fecfefd2b67de0383bfb568a58438f0.tar.gz spack-bd9213a55fecfefd2b67de0383bfb568a58438f0.tar.bz2 spack-bd9213a55fecfefd2b67de0383bfb568a58438f0.tar.xz spack-bd9213a55fecfefd2b67de0383bfb568a58438f0.zip |
Append system PKG_CONFIG_PATH on Cray instead of prepend (#3766)
-rw-r--r-- | var/spack/repos/builtin/packages/pkg-config/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/pkg-config/package.py b/var/spack/repos/builtin/packages/pkg-config/package.py index 50b517f6d0..0aa4bb9969 100644 --- a/var/spack/repos/builtin/packages/pkg-config/package.py +++ b/var/spack/repos/builtin/packages/pkg-config/package.py @@ -49,8 +49,8 @@ class PkgConfig(AutotoolsPackage): """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'] |