On Mon, Jun 05, 2017 at 02:32:43AM -0700, Li Er wrote: > 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 library.
My understanding is that an XS perl module cannot be built unless there is a shared libperl. Therefore a build failure in the XS subdirectories is expected. The build should finish but the use of XS modules will be disabled. > > I don't know why it adds this flag, I don't think it's meaningful when > building a XS module, the perl interpreter loads libperl itself. After > removing this flag from Makfile the build process succeeded for me. I don't know what kind of success this is. Do you mean that the XS modules were built, installed and loaded whenever texi2any runs? If that is the case, I do not understand it.