MAN page from Fedora 6 perl-ExtUtils-MakeMaker-6.46-1.fc6.rf.noarch.rpm
Section: User Contributed Perl Documentation (3)
ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader
Mkbootstrap typically gets called from an extension Makefile.
There is no "*.bs" file supplied with the extension. Instead, there maybe a *_BS file which has code for the special cases, like posix forberkeley db on the NeXT.
This file will get parsed, and produce a maybe empty@DynaLoader::dl_resolve_using array for the current architecture.That will be extended by $BSLOADLIBS, which was computed byExtUtils::Liblist::ext(). If this array still is empty, we do nothing,else we write a .bs file with an @DynaLoader::dl_resolve_usingarray.
The *_BS file can put some code into the generated "*.bs" file byplacing it in $bscode. This is a handy 'escape' mechanism that mayprove useful in complex situations.
If @DynaLoader::dl_resolve_using contains "-L*" or "-l*" entries thenMkbootstrap will automatically add a dl_findfile() call to thegenerated "*.bs" file.
This document was created byman2html,using the manual pages.