summaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2014-02-17 23:25:17 -0800
committerBrian Dolbec <dolsen@gentoo.org>2014-02-17 23:25:17 -0800
commitf47a75c4815415aa4da6a4b41fb2ba18ef753ef2 (patch)
treee1d2b6f26f25fe5cf0fc58ab55ba3a538cf1ce64 /pym
parent1d981aeb603714c0a75c4acacda3dd031ef6301d (diff)
downloadgentoolkit-f47a75c4815415aa4da6a4b41fb2ba18ef753ef2.tar.gz
revdep-rebuild/analyse.py: Change the scanelf call parameters.
Remove the redundant -n option due to the -F option. Add --use-ldpath to help prevent false detection of libs in a different path than the lib is linked to. Changes recommended by: Douglas Freed
Diffstat (limited to 'pym')
-rw-r--r--pym/gentoolkit/revdep_rebuild/analyse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/revdep_rebuild/analyse.py b/pym/gentoolkit/revdep_rebuild/analyse.py
index 0c22b0e..595d4f5 100644
--- a/pym/gentoolkit/revdep_rebuild/analyse.py
+++ b/pym/gentoolkit/revdep_rebuild/analyse.py
@@ -30,7 +30,7 @@ def scan_files(libs_and_bins, cmd_max_args, logger):
'''
stime = current_milli_time()
scanned_files = {} # {bits: {soname: (filename, needed), ...}, ...}
- lines = scan(['-nBF', '%F %f %S %n %M'],
+ lines = scan(['--use-ldpath -BF', '%F %f %S %n %M'],
libs_and_bins, cmd_max_args, logger)
ftime = current_milli_time()
logger.debug("\tscan_files(); total time to get scanelf data is "