|
@ -375,7 +375,8 @@ sub read_contents_file { |
|
|
must_be_abs($file); |
|
|
must_be_abs($file); |
|
|
(-d $file) and cf_warn($contents_file, $line, |
|
|
(-d $file) and cf_warn($contents_file, $line, |
|
|
"left-hand side can't be directory"); |
|
|
"left-hand side can't be directory"); |
|
|
my($abs_replacement) = find_file_in_path($replacement,$main::global_yard); |
|
|
# my($abs_replacement) = find_file_in_path($replacement,$main::global_yard); |
|
|
|
|
|
my($abs_replacement) = find_file_in_path($replacement); |
|
|
if (!(defined($abs_replacement) and -e $abs_replacement)) { |
|
|
if (!(defined($abs_replacement) and -e $abs_replacement)) { |
|
|
cf_warn($contents_file, $line, "Can't find $replacement"); |
|
|
cf_warn($contents_file, $line, "Can't find $replacement"); |
|
|
|
|
|
|
|
@ -530,7 +531,8 @@ sub library_dependencies { |
|
|
##### EXECUTABLE LOADABLE BINARY |
|
|
##### EXECUTABLE LOADABLE BINARY |
|
|
##### Run ldd to get library dependencies. |
|
|
##### Run ldd to get library dependencies. |
|
|
my $line; |
|
|
my $line; |
|
|
foreach $line (`ldd $file`) { |
|
|
## |
|
|
|
|
|
foreach $line (`/usr/i386-linux-uclibc/bin/ldd $file`) { |
|
|
my($lib) = $line =~ / => (\S+)/; |
|
|
my($lib) = $line =~ / => (\S+)/; |
|
|
next unless $lib; |
|
|
next unless $lib; |
|
|
my($abs_lib) = $lib; |
|
|
my($abs_lib) = $lib; |
|
|