Skip to content
Snippets Groups Projects
Commit 1c5684c70a34 authored by Christoph M. Becker's avatar Christoph M. Becker
Browse files

Fix classic Windows configuration for libexslt

As is, the `LIBEXSLT_DOTTED_VERSION` would be `@LIBEXSLT_VERSION@` when
using the classic Windows configuration (win32/configure.js).  This has
apparently been overlooked when exsltconfig.h.in has been changed a
while ago[1].

[1] <https://gitlab.gnome.org/GNOME/libxslt/-/commit/4045ed4b05bb400359d02ce6e9b0ca9b97c04750>
parent ed739e3d0bd0
No related branches found
No related tags found
No related merge requests found
...@@ -251,8 +251,8 @@ ...@@ -251,8 +251,8 @@
while (ofi.AtEndOfStream != true) { while (ofi.AtEndOfStream != true) {
ln = ofi.ReadLine(); ln = ofi.ReadLine();
s = new String(ln); s = new String(ln);
if (s.search(/\@VERSION\@/) != -1) { if (s.search(/\@LIBEXSLT_VERSION\@/) != -1) {
of.WriteLine(s.replace(/\@VERSION\@/, of.WriteLine(s.replace(/\@LIBEXSLT_VERSION\@/,
verMajorExslt + "." + verMinorExslt + "." + verMicroExslt)); verMajorExslt + "." + verMinorExslt + "." + verMicroExslt));
} else if (s.search(/\@LIBEXSLT_VERSION_NUMBER\@/) != -1) { } else if (s.search(/\@LIBEXSLT_VERSION_NUMBER\@/) != -1) {
of.WriteLine(s.replace(/\@LIBEXSLT_VERSION_NUMBER\@/, of.WriteLine(s.replace(/\@LIBEXSLT_VERSION_NUMBER\@/,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment