mirror of
https://github.com/fspc/gbootroot.git
synced 2026-09-08 12:51:40 -04: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:
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user