ExtUtils::Mksymlists - Write Linker Option Files for Dynamic Extension

use ExtUtils::Mksymlists; Mksymlists( NAME => $name, DL_FUNCS => {
 $pkg1 => [$func1, $func2], $pkg2 => [$func3] }, DL_VARS => [$var1, $var2, $var3]);

ExtUtils::Mksymlists() produces files used by the linker under some OSes during the creation of shared libraries for dynamic 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:

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.