summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-12-19 12:47:04 -0600
committerGitHub <noreply@github.com>2019-12-19 12:47:04 -0600
commitae52f4144872a281bc97596ecce17d9959c21086 (patch)
treeda0674c7ce98b5457a23108885bac893b5011973
parent5940ec0d74be1d775c3a7a3a6cc9804db9e101ca (diff)
downloadspack-ae52f4144872a281bc97596ecce17d9959c21086.tar.gz
spack-ae52f4144872a281bc97596ecce17d9959c21086.tar.bz2
spack-ae52f4144872a281bc97596ecce17d9959c21086.tar.xz
spack-ae52f4144872a281bc97596ecce17d9959c21086.zip
dmd: setup dependent build environment (#14198)
* dmd: setup dependent build environment * Fix call signature of setup_dependent_build_environment
-rw-r--r--var/spack/repos/builtin/packages/dmd/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dmd/package.py b/var/spack/repos/builtin/packages/dmd/package.py
index 94d07f54be..8f6fd0c080 100644
--- a/var/spack/repos/builtin/packages/dmd/package.py
+++ b/var/spack/repos/builtin/packages/dmd/package.py
@@ -37,6 +37,9 @@ class Dmd(MakefilePackage):
env.prepend_path('LIBRARY_PATH', self.prefix.linux.lib64)
env.prepend_path('LD_LIBRARY_PATH', self.prefix.linux.lib64)
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ self.setup_run_environment(env)
+
def edit(self, spec, prefix):
# Move contents to dmd/
mkdir = which('mkdir')