File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -3734,12 +3734,21 @@ def trace_and_log(msg):
37343734
37353735 return fail_msgs
37363736
3737- def sanity_check_rpath (self , rpath_dirs = None , check_readelf_rpath = True ):
3737+ def sanity_check_rpath (self , rpath_dirs = None , check_readelf_rpath = None ):
37383738 """Sanity check binaries/libraries w.r.t. RPATH linking."""
37393739
37403740 self .log .info ("Checking RPATH linkage for binaries/libraries..." )
37413741
37423742 fails = []
3743+
3744+ # Configure RPATH checking by readelf using easyconfig variable 'check_readelf_rpath' (default True)
3745+ if check_readelf_rpath is None :
3746+ check_readelf_rpath = self .cfg ["check_readelf_rpath" ]
3747+ (
3748+ self .log .info ("RPATH checking by readelf is enabled" )
3749+ if check_readelf_rpath
3750+ else self .log .info ("RPATH checking by readelf is disabled" )
3751+ )
37433752
37443753 if build_option ('strict_rpath_sanity_check' ):
37453754 self .log .info ("Unsetting $LD_LIBRARY_PATH since strict RPATH sanity check is enabled..." )
You can’t perform that action at this time.
0 commit comments