TeX-Live / texlive-source

source part of the TeX Live subversion repository - for issues please contact the tex-k mailing list at tug.org
263 stars 68 forks source link

kpathsea: don't depend on GNU libtool internals #65

Closed orbea closed 8 months ago

orbea commented 8 months ago

The kpsereadlink.test script checks that the compiled kpsereadlink correctly finds that .libs/libkpathsea.lai is not a symlink and that .libs/libkpathsea.la is a symlink.

However this assumption is broken when using slibtool instead of GNU libtool which creates libpathsea.lai as a symlink.

A more robust test that works with both GNU libtool and slibtool would be to create a file and symlink to test against rather than to depend on GNU libtool internals.

This was reported for Gentoo: https://bugs.gentoo.org/924405

kberry commented 8 months ago

thanks much. i applied it (with trivial changes).

orbea commented 8 months ago

Thank you very much for the quick review!