Skip to content

Commit 1e655d4

Browse files
committed
only pick up check_readelf_rpath if check_readelf_rpath option passed to sanity_check_rpath is None
1 parent e0ec34b commit 1e655d4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

easybuild/framework/easyblock.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3741,8 +3741,10 @@ def sanity_check_rpath(self, rpath_dirs=None, check_readelf_rpath=None):
37413741

37423742
fails = []
37433743

3744-
# Configure RPATH checking by readelf using easyconfig variable 'check_readelf_rpath' (default True)
3745-
check_readelf_rpath = self.cfg["check_readelf_rpath"]
3744+
if check_readelf_rpath is None:
3745+
# Configure RPATH checking by readelf using easyconfig variable 'check_readelf_rpath' (default True)
3746+
check_readelf_rpath = self.cfg["check_readelf_rpath"]
3747+
37463748
if check_readelf_rpath:
37473749
self.log.info("Checks on RPATH section of binaries/libraries (via 'readelf -d') enabled")
37483750
else:

0 commit comments

Comments
 (0)