Include OpenSSL 1.1 in Win32 and Win64 installer packages
This commit is contained in:
@@ -57,7 +57,8 @@ jobs:
|
|||||||
mingw-w64-i686-libraqm \
|
mingw-w64-i686-libraqm \
|
||||||
mingw-w64-i686-SDL \
|
mingw-w64-i686-SDL \
|
||||||
mingw-w64-i686-clang \
|
mingw-w64-i686-clang \
|
||||||
mingw-w64-i686-nsis
|
mingw-w64-i686-nsis \
|
||||||
|
mingw-w64-i686-openssl
|
||||||
python -m pip install clang
|
python -m pip install clang
|
||||||
|
|
||||||
- name: Cache Qt
|
- name: Cache Qt
|
||||||
|
|||||||
@@ -68,7 +68,8 @@ jobs:
|
|||||||
mingw-w64-x86_64-libraqm \
|
mingw-w64-x86_64-libraqm \
|
||||||
mingw-w64-x86_64-SDL \
|
mingw-w64-x86_64-SDL \
|
||||||
mingw-w64-x86_64-clang \
|
mingw-w64-x86_64-clang \
|
||||||
mingw-w64-x86_64-nsis
|
mingw-w64-x86_64-nsis \
|
||||||
|
mingw-w64-x86_64-openssl
|
||||||
python -m pip install clang
|
python -m pip install clang
|
||||||
|
|
||||||
- name: Cache Qt
|
- name: Cache Qt
|
||||||
|
|||||||
@@ -404,22 +404,24 @@ elseif(WIN32)
|
|||||||
message(WARNING "Installer: SDL.dll not found, set SDL_LIBRARY_PATH manually.")
|
message(WARNING "Installer: SDL.dll not found, set SDL_LIBRARY_PATH manually.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# libeay (SSL) dlls (used by QtNetwork) -- not strictly required but avoids possible issues with downloads and Qt warnings.
|
# SSL dlls (used by QtNetwork)
|
||||||
# file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" WIN_PROGRAM_FILES)
|
file(TO_CMAKE_PATH "$ENV{PROGRAMFILES}" WIN_PROGRAM_FILES)
|
||||||
# find_path(EAY_LIB_DIR libeay32.dll HINTS
|
# try 64-bit
|
||||||
# "${WIN_PROGRAM_FILES}/OpenSSL" "${WIN_PROGRAM_FILES}/OpenSSL-Win32"
|
find_path(SSL_LIB_DIR libssl-1_1-x64.dll libssl-1_1-x86.dll HINTS
|
||||||
# "C:/OpenSSL/" "C:/OpenSSL-Win32/"
|
"${WIN_PROGRAM_FILES}/OpenSSL" "${WIN_PROGRAM_FILES}/OpenSSL-Win32"
|
||||||
# "${WIN_EXTRA_LIBS_PATH}" "${WIN_EXTRA_LIBS_PATH}/OpenSSL" "${WIN_EXTRA_LIBS_PATH}/OpenSSL-Win32"
|
"C:/OpenSSL/" "C:/OpenSSL-Win32/"
|
||||||
# "${MINGW_DIR}/../opt/bin"
|
"${WIN_EXTRA_LIBS_PATH}" "${WIN_EXTRA_LIBS_PATH}/OpenSSL" "${WIN_EXTRA_LIBS_PATH}/OpenSSL-Win32"
|
||||||
# "${PYTHON_DIRECTORY}/lib/site-packages/PyQt4"
|
"${MINGW_DIR}/../opt/bin"
|
||||||
# PATH_SUFFIXES bin
|
"${PYTHON_DIRECTORY}/lib/site-packages/PyQt4"
|
||||||
# DOC "Path to libeay32.dll and ssleay32.dll (OpenSSL)"
|
PATH_SUFFIXES bin
|
||||||
# )
|
DOC "Path to OpenSSL for Windows 1.1"
|
||||||
# if (EAY_LIB_DIR)
|
)
|
||||||
# install(FILES "${EAY_LIB_DIR}/libeay32.dll" "${EAY_LIB_DIR}/ssleay32.dll" DESTINATION ${INSTALL_DESTINATION} OPTIONAL)
|
if (SSL_LIB_DIR)
|
||||||
# else()
|
install(FILES "${SSL_LIB_DIR}/libssl-1_1-x64.dll" "${SSL_LIB_DIR}/libcrypto-1_1-x64.dll" DESTINATION ${INSTALL_DESTINATION} OPTIONAL)
|
||||||
# message(WARNING "Installer: SSL libs not found, set EAY_LIB_DIR manually.")
|
install(FILES "${SSL_LIB_DIR}/libssl-1_1-x86.dll" "${SSL_LIB_DIR}/libcrypto-1_1-x86.dll" DESTINATION ${INSTALL_DESTINATION} OPTIONAL)
|
||||||
# endif()
|
else()
|
||||||
|
message(WARNING "Installer: SSL libs not found, set SSL_LIB_DIR manually.")
|
||||||
|
endif()
|
||||||
endif() # WIN32 install
|
endif() # WIN32 install
|
||||||
|
|
||||||
############# Packaging ####################
|
############# Packaging ####################
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
echo "=== Step $((STEP++)): Installing packages ==="
|
echo "=== Step $((STEP++)): Installing packages ==="
|
||||||
pacman -S --noconfirm mingw-w64-x86_64-cmake mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-pillow mingw-w64-x86_64-python-lz4 mingw-w64-x86_64-arm-none-eabi-gcc mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-zlib mingw-w64-x86_64-libtiff mingw-w64-x86_64-freetype mingw-w64-x86_64-lcms2 mingw-w64-x86_64-libwebp mingw-w64-x86_64-openjpeg2 mingw-w64-x86_64-libimagequant mingw-w64-x86_64-libraqm mingw-w64-x86_64-SDL mingw-w64-x86_64-nsis mingw-w64-x86_64-clang
|
pacman -S --noconfirm mingw-w64-x86_64-cmake mingw-w64-x86_64-python-pip mingw-w64-x86_64-python-pillow mingw-w64-x86_64-python-lz4 mingw-w64-x86_64-arm-none-eabi-gcc mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-zlib mingw-w64-x86_64-libtiff mingw-w64-x86_64-freetype mingw-w64-x86_64-lcms2 mingw-w64-x86_64-libwebp mingw-w64-x86_64-openjpeg2 mingw-w64-x86_64-libimagequant mingw-w64-x86_64-libraqm mingw-w64-x86_64-SDL mingw-w64-x86_64-nsis mingw-w64-x86_64-clang mingw-w64-x86_64-openssl
|
||||||
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
if [[ $PAUSEAFTEREACHLINE == "true" ]]; then
|
||||||
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop."
|
||||||
read
|
read
|
||||||
|
|||||||
Reference in New Issue
Block a user