{
    "mode": "perldoc",
    "parameter": "ExtUtils::Mkbootstrap",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/ExtUtils%3A%3AMkbootstrap/json",
    "generated": "2026-06-14T00:48:33Z",
    "synopsis": "Mkbootstrap",
    "sections": {
        "NAME": {
            "content": "ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "Mkbootstrap\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Mkbootstrap typically gets called from an extension Makefile.\n\nThere is no \"*.bs\" file supplied with the extension. Instead, there may be a *BS file which has\ncode for the special cases, like posix for berkeley db on the NeXT.\n\nThis file will get parsed, and produce a maybe empty @DynaLoader::dlresolveusing array for the\ncurrent architecture. That will be extended by $BSLOADLIBS, which was computed by\nExtUtils::Liblist::ext(). If this array still is empty, we do nothing, else we write a .bs file\nwith an @DynaLoader::dlresolveusing array.\n\nThe *BS file can put some code into the generated \"*.bs\" file by placing it in $bscode. This is\na handy 'escape' mechanism that may prove useful in complex situations.\n\nIf @DynaLoader::dlresolveusing contains \"-L*\" or \"-l*\" entries then Mkbootstrap will\nautomatically add a dlfindfile() call to the generated \"*.bs\" file.\n",
            "subsections": []
        }
    },
    "summary": "ExtUtils::Mkbootstrap - make a bootstrap file for use by DynaLoader",
    "flags": [],
    "examples": [],
    "see_also": []
}