summaryrefslogtreecommitdiff
path: root/ci/appveyor/pack.bat
diff options
context:
space:
mode:
authorVedang Manerikar <ved.manerikar@gmail.com>2021-04-11 21:57:01 +0530
committerVedang Manerikar <ved.manerikar@gmail.com>2021-04-11 23:33:16 +0530
commite905af3941e3a9a004659bf54dc1f037930fa0f9 (patch)
treed1c2342b899eaf184148518bb095be894608bc94 /ci/appveyor/pack.bat
parent77f1fcf52c786bf97c128af57b5ec2b8cc2f4b35 (diff)
Fix: Download missing dll files separately
I'm making these changes based on reading through the output logs of the Appveyor code, I don't have any understanding of how mingw64 works.
Diffstat (limited to 'ci/appveyor/pack.bat')
-rw-r--r--ci/appveyor/pack.bat8
1 files changed, 6 insertions, 2 deletions
diff --git a/ci/appveyor/pack.bat b/ci/appveyor/pack.bat
index 7077f26..acee147 100644
--- a/ci/appveyor/pack.bat
+++ b/ci/appveyor/pack.bat
@@ -2,7 +2,7 @@
cd %APPVEYOR_BUILD_FOLDER%
-REM Create a writeable TMPDIR
+REM Create a writeable PACKDIR
mkdir %APPVEYOR_BUILD_FOLDER%\pack
set PACKDIR=%APPVEYOR_BUILD_FOLDER%\pack
@@ -11,7 +11,11 @@ IF %COMPILER%==msys2 (
SET "PATH=C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;C:\%MSYS2_DIR%\home\appveyor\.cask\bin;%PATH%"
REM Copy epdfinfo.exe and all dependencies
- bash -lc "pushd /c/projects/pdf-tools; ldd server/epdfinfo.exe | grep mingw | cut -d' ' -f 3 | xargs -I {} cp {} ./pack/; cp server/epdfinfo.exe ./pack/; cp /mingw64/bin/*eay32.dll ./pack/"
+ bash -lc "pushd /c/projects/pdf-tools; ldd server/epdfinfo.exe | grep mingw | cut -d' ' -f 3 | xargs -I {} cp {} ./pack/; cp server/epdfinfo.exe ./pack/"
+
+ REM Copy dlls to pack
+ cp %TMPDIR%\ssleay32.dll %PACKDIR%\
+ cp %TMPDIR%\libeay32.dll %PACKDIR%\
REM Package epdfinfo.exe and all dependencies
7z a epdfinfo.zip %PACKDIR%\*.*