From f47a75c4815415aa4da6a4b41fb2ba18ef753ef2 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Mon, 17 Feb 2014 23:25:17 -0800 Subject: 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 --- pym/gentoolkit/revdep_rebuild/analyse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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 " -- cgit v1.2.3