diff options
author | Gregory Becker <becker33@llnl.gov> | 2016-05-13 14:39:20 -0700 |
---|---|---|
committer | Gregory Becker <becker33@llnl.gov> | 2016-05-13 14:39:20 -0700 |
commit | f43cab0951e5023736d3e332d747e0db212acb72 (patch) | |
tree | 36cf1b7703a87a1b1c67984c546014c43ebcc83e /lib | |
parent | 4c9dd028d2305360329767831e65bafe403c6e8a (diff) | |
download | spack-f43cab0951e5023736d3e332d747e0db212acb72.tar.gz spack-f43cab0951e5023736d3e332d747e0db212acb72.tar.bz2 spack-f43cab0951e5023736d3e332d747e0db212acb72.tar.xz spack-f43cab0951e5023736d3e332d747e0db212acb72.zip |
fixed pkgconfig issue
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/build_environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py index 82d0792e26..8016bc4151 100644 --- a/lib/spack/spack/build_environment.py +++ b/lib/spack/spack/build_environment.py @@ -232,7 +232,7 @@ def set_build_environment_variables(pkg): pcdir = join_path(p, libdir, 'pkgconfig') if os.path.isdir(pcdir): pkg_config_dirs.append(pcdir) - path_set("PKG_CONFIG_PATH", pkg_config_dirs) + path_put_first("PKG_CONFIG_PATH", pkg_config_dirs) if pkg.spec.architecture.target.module_name: load_module(pkg.spec.architecture.target.module_name) |