Add intermediate folder in lib to LD_LIBRARY_PATH (#29519)

This commit is contained in:
haralmha 2022-03-17 13:20:22 +01:00 committed by GitHub
parent 5fd05a8cbe
commit 9ba41449a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,