Subject: | DLEXT not documented |
I make use of MakeMaker's DLEXT option, but it's not documented.
Here is a patch (against EU::MM-6.66) to fix that omission in the EU::MM pod:
##########################################
--- doc_orig.txt 2013-07-26 21:43:03 +1000
+++ doc.txt 2013-07-26 21:42:50 +1000
@@ -440,6 +440,15 @@
On some OS's where . has special meaning VERSION_SYM may be used in
place of VERSION.
+ DLEXT
+ Specifies the extension of the module's loadable object. For example:
+ DLEXT => 'unusual_ext',
+ (Default value is $Config{so}.)
+ NOTE: When using this option to alter the extension of a module's
+ loadable object, it is also necessary that the module's pm file
+ specifies the same change:
+ local $DynaLoader::dl_dlext = 'unusual_ext';
+
DL_FUNCS
Hashref of symbol names for routines to be made available as universal
symbols. Each key/value pair consists of the package name and an array
##########################################
Note that the DynaLoader docs also fail to mention $DynaLoader::dl_dlext.
A perlbug report for that, too, has been filled out:
https://rt.perl.org/rt3/Ticket/Display.html?id=119031
Cheers,
Rob