On Mon, Jun 05, 2017 at 12:14:04PM -0700, Li Er wrote: > 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 not linked against it. I think > it's the default behavior under Linux. I don't know much about Windows, > however.
Thanks for the explanation. Maybe the -no-undefined -lperl options should only be used on Windows (MinGW or Cygwin). Various links to older discussions: http://lists.gnu.org/archive/html/bug-texinfo/2016-01/msg00004.html http://lists.gnu.org/archive/html/bug-texinfo/2016-01/msg00020.html http://lists.gnu.org/archive/html/bug-texinfo/2016-01/msg00075.html I haven't read through every post in those older discussions. I expect the best thing to do is try it and hope for the best.