Skip to content

Commit

Permalink
Fix Windows .msi build with recent cygwin updates
Browse files Browse the repository at this point in the history
Cygwin now ships libssl 1.1 which removed OpenSSL_add_all_ciphers so the xar configure fails.
Replace the configure check with another existing function to fix it.

(cherry picked from commit e109901)
  • Loading branch information
akoeplinger committed Apr 1, 2020
1 parent fda7399 commit e77cea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packaging/Windows/defs/managed-components
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ build()
mkdir -p xar
tar xf xar.tar.gz -C xar/ --strip-components=1
pushd xar/
report "Patching xar configure for compatibility with openssl 1.1"
sed -i 's/OpenSSL_add_all_ciphers/OPENSSL_init_crypto/g' configure
./configure
make
popd
Expand Down

0 comments on commit e77cea1

Please sign in to comment.