Re: XSParagraph build failure with static libperl

2017-06-05 Thread Li Er
I tried my build with TEXINFO_XS=debug and it states 'XSParagraph.so loaded', so I think it's working well. If there's no shared libperl, XS module simply uses the symbols exported by the perl binary. I also had a look at debian's perl distribution, it's using shared libperl but the XS modules are

XSParagraph build failure with static libperl

2017-06-05 Thread Li Er
XSParagraph assumes perl is built with a shared libperl library, which is not always the case, in fact, static libperl is the default option when building perl. And since XSParagraph adds -lperl to its ldflags, it will result in a build failure because you can not link a shared object with a static