mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 09:03:23 -05:00
Old code which was automatically finding a ld loader regardless of the users own wishes
has been consigned to a function call auto_loader which will not be used because this gets away in creating dists with alternative libs, and ld is almost always found if required binaries are chosen, anyways.
This commit is contained in:
parent
830467df85
commit
3c073ca3dd
@ -769,6 +769,21 @@ sub library_dependencies {
|
||||
}
|
||||
}
|
||||
|
||||
## History --freesource
|
||||
# auto_loader($contents_file, $seen_ELF_lib, $seen_AOUT_lib);
|
||||
|
||||
info(0, "Done\n\n");
|
||||
|
||||
} # end sub library_dependencies
|
||||
|
||||
## This is old code being kept around, but it really isn't necessary
|
||||
## because the ld libs are always found long before reaching this point, and
|
||||
## in cases where libc5/libc6 aren't wanted it gets in the way of creating
|
||||
## alternative lib distributions like uClibc.
|
||||
sub auto_loader {
|
||||
|
||||
my ($contents_file, $seen_ELF_lib, $seen_AOUT_lib) = @_;
|
||||
|
||||
info(1, "\n");
|
||||
if ($seen_ELF_lib) {
|
||||
# There's no official way to get the loader file, AFAIK.
|
||||
@ -792,9 +807,7 @@ sub library_dependencies {
|
||||
}
|
||||
}
|
||||
|
||||
info(0, "Done\n\n");
|
||||
|
||||
} # end sub library_dependencies
|
||||
} # end auto_loader
|
||||
|
||||
sub hard_links {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user