mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
Fix wrong exiv2 and openssl build
This commit is contained in:
@@ -8,7 +8,7 @@ IF NOT EXIST cbuild (
|
||||
MD cbuild || EXIT /B 1
|
||||
)
|
||||
CD cbuild || EXIT /B 1
|
||||
git clone --depth 1 'https://github.com/Exiv2/exiv2' || EXIT /B %ERRORLEVEL%
|
||||
git clone --depth 1 "https://github.com/Exiv2/exiv2" || EXIT /B %ERRORLEVEL%
|
||||
CD exiv2 || EXIT /B %ERRORLEVEL%
|
||||
git apply %PATCH_DIR%\basicio.cpp.patch || EXIT /B %ERRORLEVEL%
|
||||
IF NOT EXIST build (
|
||||
|
||||
@@ -14,6 +14,6 @@ CALL %DOWNLOAD_RESOURCE% -o "openssl-3.0.5.tar.gz" "https://www.openssl.org/sour
|
||||
tar -xzvf "openssl-3.0.5.tar.gz" || EXIT /B %ERRORLEVEL%
|
||||
CD openssl-3.0.5 || EXIT /B 1
|
||||
perl Configure shared zlib-dynamic --prefix=%PREFIX% --openssldir=%OPENSSLDIR% || EXIT /B %ERRORLEVEL%
|
||||
nmake -j8 || EXIT /B %ERRORLEVEL%
|
||||
nmake || EXIT /B %ERRORLEVEL%
|
||||
nmake install || EXIT /B %ERRORLEVEL%
|
||||
ENDLOCAL
|
||||
|
||||
Reference in New Issue
Block a user