diff --git a/easybuild/framework/easyblock.py b/easybuild/framework/easyblock.py index 55107be6f9..4b4eb2cc07 100644 --- a/easybuild/framework/easyblock.py +++ b/easybuild/framework/easyblock.py @@ -2954,11 +2954,11 @@ def prepare_step(self, start_dir=True, load_tc_deps_modules=True): # $ORIGIN will be resolved by the loader to be the full path to the executable or shared object # see also https://linux.die.net/man/8/ld-linux; self.rpath_include_dirs.extend([ - os.path.join(self.installdir, 'lib'), - os.path.join(self.installdir, 'lib64'), '$ORIGIN', '$ORIGIN/../lib', '$ORIGIN/../lib64', + os.path.join(self.installdir, 'lib'), + os.path.join(self.installdir, 'lib64'), ]) # Location to store RPATH wrappers