Browse Source

The ldd test was only checking for busybox .. now it checks for everything,

when ldd produces only STDERR then it isn't the libc6 ldd, ofcourse, this
should be tested on other alternative libs.
master
freesource 23 years ago
parent
commit
ce48f6e8e1
  1. 4
      BootRoot/Yard.pm

4
BootRoot/Yard.pm

@ -661,9 +661,11 @@ sub library_dependencies {
## uClibc uses a different ldd --freesource
## Determine which ldd to use
## If it just returns STDERR then it is a different type
## of ldd.
my $ldd;
my $determine_ldd = `ldd $file 2>&1 1>/dev/null`;
if ( $determine_ldd =~ /BusyBox/ ) {
if ( $determine_ldd ) {
$ldd = "/usr/i386-linux-uclibc/bin/ldd";
}
else {

Loading…
Cancel
Save