[libxml2] Fix variable name in win32/configure.js



commit 4e9cc18ba9b3a5948d153aca3197c3980c941cca
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Mon Sep 21 11:00:23 2020 +0200

    Fix variable name in win32/configure.js
    
    Fix copy/paste error from previous commit.

 win32/configure.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/win32/configure.js b/win32/configure.js
index 3d407b8e2..cec64c539 100644
--- a/win32/configure.js
+++ b/win32/configure.js
@@ -209,13 +209,13 @@ function discoverVersion()
                ln = cf.ReadLine();
                s = new String(ln);
                if (m = s.match(/^m4_define\(\[MAJOR_VERSION\], (\w+)\)/)) {
-                       vf.WriteLine("LIBXSLT_MAJOR_VERSION=" + m[1]);
+                       vf.WriteLine("LIBXML_MAJOR_VERSION=" + m[1]);
                        verMajor = m[1];
                } else if(m = s.match(/^m4_define\(\[MINOR_VERSION\], (\w+)\)/)) {
-                       vf.WriteLine("LIBXSLT_MINOR_VERSION=" + m[1]);
+                       vf.WriteLine("LIBXML_MINOR_VERSION=" + m[1]);
                        verMinor = m[1];
                } else if(m = s.match(/^m4_define\(\[MICRO_VERSION\], (\w+)\)/)) {
-                       vf.WriteLine("LIBXSLT_MICRO_VERSION=" + m[1]);
+                       vf.WriteLine("LIBXML_MICRO_VERSION=" + m[1]);
                        verMicro = m[1];
                } else if(s.search(/^LIBXML_MICRO_VERSION_SUFFIX=/) != -1) {
                        vf.WriteLine(s);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]