add root to rpath of python (#48491)
* add root to rpath of python? * fix #48446 * [@spackbot] updating style on behalf of DingXuefeng --------- Co-authored-by: DingXuefeng <DingXuefeng@users.noreply.github.com> Co-authored-by: Patrick Gartung <gartung@fnal.gov>
This commit is contained in:
parent
af25a84a56
commit
25f24d947a
@ -843,6 +843,7 @@ def setup_run_environment(self, env):
|
||||
# the following vars are copied from thisroot.sh; silence a cppyy warning
|
||||
env.set("CLING_STANDARD_PCH", "none")
|
||||
env.set("CPPYY_API_PATH", "none")
|
||||
env.set("CPPYY_BACKEND_LIBRARY", self.prefix.lib.root.libcppyy_backend)
|
||||
if "+rpath" not in self.spec:
|
||||
env.prepend_path(self.root_library_path, self.prefix.lib.root)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user