Browse Source

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.
master
freesource 23 years ago
parent
commit
3c073ca3dd
  1. 19
      BootRoot/Yard.pm

19
BootRoot/Yard.pm

@ -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"); info(1, "\n");
if ($seen_ELF_lib) { if ($seen_ELF_lib) {
# There's no official way to get the loader file, AFAIK. # There's no official way to get the loader file, AFAIK.
@ -792,9 +807,7 @@ sub library_dependencies {
} }
} }
info(0, "Done\n\n"); } # end auto_loader
} # end sub library_dependencies
sub hard_links { sub hard_links {

Loading…
Cancel
Save