On 17 August 2015 at 11:56, Gavin Smith <gavinsmith0...@gmail.com> wrote: >> Is this a possibility to build a standalone module worth more investigation? > > I'll have a look at the patch you posted.
So this: +my $dlname = undef; +if ($TEXINFO_XS eq 'module') { + $dlname = "XSParagraph.so"; + push @DynaLoader::dl_library_path, "./blib/arch/auto/XSParagraph/"; + $TEXINFO_XS = 'debug'; + goto LOAD; +} won't work for looking for an installed module, and also on platforms when the file extension for shared objects isn't ".so".