ExtUtil...ootstrap(3)
okay so welcome to the ExtUtils::Mkbootstrap page, bestie π this one comes from the User Contributed Perl Documentation, and yes the header is out here doing its truncated little title thing (ExtUtil...ootstrap(3)) β iconic behavior, we move. π
π NAME π
ExtUtils::Mkbootstrap β make a bootstrap file for use by DynaLoader β¨ thatβs literally the whole vibe.
β¨ SYNOPSIS β¨
Mkbootstrap
πΈ DESCRIPTION πΈ
Mkbootstrap typically gets called from an extension Makefile β like, thatβs its main character entrance. π
There is no *.bs file supplied with the extension. Instead, there may be a *_BS file which has code for the special cases, like posix for berkeley db on the NeXT. No cap, thatβs the little special-case stash.
That *_BS file will get parsed, and it produces a maybe empty @DynaLoader::dl_resolve_using array for the current architecture. That array will be extended by $BSLOADLIBS, which was computed by ExtUtils::Liblist::ext(). If this array still is empty, we do nothing; otherwise we write a .bs file with an @DynaLoader::dl_resolve_using array. Periodt. π«Ά
The *_BS file can put some code into the generated "*.bs" file by placing it in $bscode. This is a handy 'escape' mechanism that may prove useful in complex situations β iykyk π.
If @DynaLoader::dl_resolve_using contains "-L*" or "-l*" entries, then Mkbootstrap will automatically add a dl_findfile() call to the generated "*.bs" file. Slay. π₯
okay bye bestie π«Ά this was ExtUtil...ootstrap(3) from perl v5.42.0, dated 2023-04-04 β mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-ExtUtils-MakeMaker 7.70-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms