ExtUtils::Mksymlists
produces files used by the linker under some OSs
during the creation of shared libraries for synamic extensions. It is
normally called from a MakeMaker-generated Makefile when the extension
is built. The linker option file is generated by calling the function
Mksymlists
, which is exported by default from ExtUtils::Mksymlists
.
It takes one argument, a list of key-value pairs, in which the following
keys are recognized:
Mksymlists
will add a bootstrap function for that package,
just as xsubpp does. (If a boot_<pkg> function is
present in the list, it is passed through unchanged.) If
DL_FUNCS is not specified, it defaults to the bootstrap
function for the extension specified in NAME.
When calling Mksymlists
, one should always specify the NAME
attribute. In most cases, this is all that's necessary. In
the case of unusual extensions, however, the other attributes
can be used to provide additional information to the linker.