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
This commit is contained in:
Levi Baber 2018-04-19 09:01:11 -05:00 committed by Adam J. Stewart
parent 7219f4a2aa
commit d65fbf4c68

View file

@ -60,3 +60,7 @@ def configure_args(self):
args.append('--without-python') args.append('--without-python')
return args 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)