> Date: Fri, 11 Oct 2024 14:36:24 +0200 > From: Patrice Dumas <[email protected]> > Cc: [email protected] > > On Fri, Oct 11, 2024 at 08:27:10AM +0300, Eli Zaretskii wrote: > > > P.S. Is libtexinfo.dll.a under ./.libs or under ./main/.libs ? IOW, > > are there indeed two separate .libs subdirectories involved? If not, > > maybe that's your problem. > > All the lib*.la, and also the .so dlopened by Perl are in ./.libs. > The source files and .o may be in the tp/Texinfo/XS directory or (more > often) in tp/Texinfo/XS subdirectories. Why would there be an issue if > there are not two directories?
I was wondering why in the command you quoted: > libtool: link: gcc -shared main/.libs/libtexinfoxs_la-build_perl_info.o > main/.libs/libtexinfoxs_la-get_perl_info.o > main/.libs/libtexinfoxs_la-options_get_perl.o > -L/usr/lib/perl5/5.32/i686-cygwin-threads-64int/CORE -lperl > ./.libs/libtexinfo.dll.a -ggdb -O2 -fstack-protector-strong -O3 -o > .libs/cygtexinfoxs-0.dll -Wl,--enable-auto-image-base -Xlinker --out-implib > -Xlinker .libs/libtexinfoxs.dll.a the object files *.o appear with main/.libs/ as the leading directory, while libtexinfo.dll.a appears with ./.libs/ instead. If there's only one .libs directory, maybe this is the reason for the problem?
