summaryrefslogtreecommitdiff
path: root/build/appveyor/build-libevent.bat
diff options
context:
space:
mode:
Diffstat (limited to 'build/appveyor/build-libevent.bat')
-rw-r--r--build/appveyor/build-libevent.bat14
1 files changed, 7 insertions, 7 deletions
diff --git a/build/appveyor/build-libevent.bat b/build/appveyor/build-libevent.bat
index 64b635b1e..939daf5ab 100644
--- a/build/appveyor/build-libevent.bat
+++ b/build/appveyor/build-libevent.bat
@@ -18,20 +18,20 @@ SET URLFILE=libevent-%LIBEVENT_VERSION%-stable.tar.gz
SET URL=https://github.com/libevent/libevent/releases/download/release-%LIBEVENT_VERSION%-stable/%URLFILE%
:: Download - support running a local build or a build in appveyor
-CD "%WIN3P%" || EXIT /B
+CD "%WIN3P%" || EXIT /B
IF "%APPVEYOR_BUILD_ID%" == "" (
curl -L -f -o "%URLFILE%" "%URL%"
) ELSE (
appveyor DownloadFile "%URL%"
)
-7z x "%URLFILE%" -so | 7z x -si -ttar > nul || EXIT /B
-CD "libevent-%LIBEVENT_VERSION%-stable" || EXIT /B
-nmake -f Makefile.nmake static_libs || EXIT /B
+7z x "%URLFILE%" -so | 7z x -si -ttar > nul || EXIT /B
+CD "libevent-%LIBEVENT_VERSION%-stable" || EXIT /B
+nmake -f Makefile.nmake static_libs || EXIT /B
:: in libevent 2.0 there is no nmake subdirectory in WIN32-Code, but in 2.1 there is
-mkdir lib || EXIT /B
-move *.lib lib\ || EXIT /B
+mkdir lib || EXIT /B
+move *.lib lib\ || EXIT /B
move WIN32-Code\event2\* include\event2\ || move WIN32-Code\nmake\event2\* include\event2\ || EXIT /B
-move *.h include\ || EXIT /B
+move *.h include\ || EXIT /B
ENDLOCAL