summary refs log tree commit diff stats
path: root/ext/libxml-wdk/win32/build-x64.bat
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libxml-wdk/win32/build-x64.bat')
-rw-r--r--ext/libxml-wdk/win32/build-x64.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/libxml-wdk/win32/build-x64.bat b/ext/libxml-wdk/win32/build-x64.bat
index 1360ab36..088d5387 100644
--- a/ext/libxml-wdk/win32/build-x64.bat
+++ b/ext/libxml-wdk/win32/build-x64.bat
@@ -1,4 +1,5 @@
 @echo off
+set TARGET="LibXML-WDK 2.7.8 x64.7z"
 set WDK_ROOT=c:\WinDDK\7600.16385.1
 set INCLUDE=%WDK_ROOT%\inc\api;%WDK_ROOT%\inc\crt
 set LIB=%WDK_ROOT%\lib\wnet\amd64;%WDK_ROOT%\lib\Crt\amd64
@@ -13,5 +14,6 @@ rmdir /q /s lib
 nmake /nologo /f Makefile.msvc install
 move lib\libxml2.dll bin
 set PATH=%PATH%;%PROGRAMW6432%\7-Zip
-7z a "LibXML-WDK 2.7.8-x64.7z" bin include lib
+del %TARGET%
+7z a %TARGET% bin include lib
 pause