summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharalmha <47558670+haralmha@users.noreply.github.com>2022-03-17 13:20:22 +0100
committerGitHub <noreply@github.com>2022-03-17 12:20:22 +0000
commit9ba41449a92604ac655d3b07a7eed54cce032a40 (patch)
tree9b363495ee7c442e65ea49b994c6b8493df61699
parent5fd05a8cbe8c0a4d783491776d34e532677dda74 (diff)
downloadspack-9ba41449a92604ac655d3b07a7eed54cce032a40.tar.gz
spack-9ba41449a92604ac655d3b07a7eed54cce032a40.tar.bz2
spack-9ba41449a92604ac655d3b07a7eed54cce032a40.tar.xz
spack-9ba41449a92604ac655d3b07a7eed54cce032a40.zip
Add intermediate folder in lib to LD_LIBRARY_PATH (#29519)
-rw-r--r--var/spack/repos/builtin/packages/herwigpp/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/herwigpp/package.py b/var/spack/repos/builtin/packages/herwigpp/package.py
index 945d23a480..ade245bf6c 100644
--- a/var/spack/repos/builtin/packages/herwigpp/package.py
+++ b/var/spack/repos/builtin/packages/herwigpp/package.py
@@ -23,6 +23,9 @@ class Herwigpp(AutotoolsPackage):
depends_on('fastjet')
depends_on('thepeg@1.9.2', when='@2.7.1')
+ def setup_build_environment(self, env):
+ env.prepend_path('LD_LIBRARY_PATH', self.spec['thepeg'].prefix.lib.ThePEG)
+
def configure_args(self):
args = ['--with-gsl=' + self.spec['gsl'].prefix,
'--with-thepeg=' + self.spec['thepeg'].prefix,