1ExtUtils::Mkbootstrap(3U)ser Contributed Perl DocumentatiEoxntUtils::Mkbootstrap(3)
2
3
4
6 ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader
7
9 Mkbootstrap
10
12 Mkbootstrap typically gets called from an extension Makefile.
13
14 There is no "*.bs" file supplied with the extension. Instead, there may
15 be a *_BS file which has code for the special cases, like posix for
16 berkeley db on the NeXT.
17
18 This file will get parsed, and produce a maybe empty
19 @DynaLoader::dl_resolve_using array for the current architecture. That
20 will be extended by $BSLOADLIBS, which was computed by
21 ExtUtils::Liblist::ext(). If this array still is empty, we do nothing,
22 else we write a .bs file with an @DynaLoader::dl_resolve_using array.
23
24 The *_BS file can put some code into the generated "*.bs" file by
25 placing it in $bscode. This is a handy 'escape' mechanism that may
26 prove useful in complex situations.
27
28 If @DynaLoader::dl_resolve_using contains "-L*" or "-l*" entries then
29 Mkbootstrap will automatically add a dl_findfile() call to the
30 generated "*.bs" file.
31
32
33
34perl v5.32.0 2020-07-28 ExtUtils::Mkbootstrap(3)