1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-23 17:13:22 -05:00

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.
This commit is contained in:
freesource 2001-12-15 09:31:44 +00:00
parent 0d8946d849
commit ce48f6e8e1

View File

@ -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 {