diff options
author | Levi Baber <baberlevi@gmail.com> | 2018-04-19 09:00:49 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-04-19 09:00:49 -0500 |
commit | 7219f4a2aa7ee6a47091aa15b3ad226af34e53f7 (patch) | |
tree | a9d689882de6ada8b2ffe108a17952e0af3251bd /var | |
parent | 4869b7312a000421074ad43233aa1264a2fb8ca4 (diff) | |
download | spack-7219f4a2aa7ee6a47091aa15b3ad226af34e53f7.tar.gz spack-7219f4a2aa7ee6a47091aa15b3ad226af34e53f7.tar.bz2 spack-7219f4a2aa7ee6a47091aa15b3ad226af34e53f7.tar.xz spack-7219f4a2aa7ee6a47091aa15b3ad226af34e53f7.zip |
freetype: adding subdir to cpath for deps (#7818)
* freetype: adding subdir to cpath for deps
* freetype: no join_path
* freetype: fix cpath for run_env
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/freetype/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/freetype/package.py b/var/spack/repos/builtin/packages/freetype/package.py index 7102e3429f..0791568e32 100644 --- a/var/spack/repos/builtin/packages/freetype/package.py +++ b/var/spack/repos/builtin/packages/freetype/package.py @@ -44,3 +44,7 @@ class Freetype(AutotoolsPackage): def configure_args(self): return ['--with-harfbuzz=no'] + + def setup_dependent_environment(self, spack_env, run_env, dependent_spec): + spack_env.prepend_path('CPATH', self.prefix.include.freetype2) + run_env.prepend_path('CPATH', self.prefix.include.freetype2) |