diff options
author | Levi Baber <baberlevi@gmail.com> | 2018-04-19 09:01:11 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-04-19 09:01:11 -0500 |
commit | d65fbf4c68deec40f27186fa0af7bf6a4ef99700 (patch) | |
tree | fdbde4942c1fd20213d3a480dc37e4ff2404cc47 /var | |
parent | 7219f4a2aa7ee6a47091aa15b3ad226af34e53f7 (diff) | |
download | spack-d65fbf4c68deec40f27186fa0af7bf6a4ef99700.tar.gz spack-d65fbf4c68deec40f27186fa0af7bf6a4ef99700.tar.bz2 spack-d65fbf4c68deec40f27186fa0af7bf6a4ef99700.tar.xz spack-d65fbf4c68deec40f27186fa0af7bf6a4ef99700.zip |
libxml2: adding subdir to cpath for deps (#7819)
* libxml2: adding subdir to cpath for deps
* libxml2: no join_path
* libxml2: fix cpath for run_env
* libxml2: typo
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libxml2/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py index 43a7e999d2..d0fcb36c99 100644 --- a/var/spack/repos/builtin/packages/libxml2/package.py +++ b/var/spack/repos/builtin/packages/libxml2/package.py @@ -60,3 +60,7 @@ class Libxml2(AutotoolsPackage): args.append('--without-python') return args + + def setup_dependent_environment(self, spack_env, run_env, dependent_spec): + spack_env.prepend_path('CPATH', self.prefix.include.libxml2) + run_env.prepend_path('CPATH', self.prefix.include.libxml2) |