dd4hep: fix setting LD_LIBRARY_PATH (#38015)

Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
This commit is contained in:
Juan Miguel Carceller 2023-08-09 16:42:05 +02:00 committed by GitHub
parent 548a9de671
commit bd58801415
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,8 +229,7 @@ def setup_run_environment(self, env):
env.set("DD4HEP", self.prefix.examples)
env.set("DD4hep_DIR", self.prefix)
env.set("DD4hep_ROOT", self.prefix)
env.set("LD_LIBRARY_PATH", self.prefix.lib)
env.set("LD_LIBRARY_PATH", self.prefix.lib64)
env.prepend_path("LD_LIBRARY_PATH", self.spec["dd4hep"].libs.directories[0])
def url_for_version(self, version):
# dd4hep releases are dashes and padded with a leading zero