ExtUtil...ootstrap(3)

πŸ“¦ version 7.70, in opensuse-leap 16.0

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