From be3836b67d85bdc9043d93986c2045c09a180ad4 Mon Sep 17 00:00:00 2001 From: arvidn Date: Fri, 21 Jul 2017 11:48:20 -0700 Subject: [PATCH] fix mingw build wiht openssl on appveyor --- Jamfile | 2 ++ appveyor.yml | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Jamfile b/Jamfile index e368a1f57..cfb1c7743 100644 --- a/Jamfile +++ b/Jamfile @@ -68,6 +68,8 @@ rule linking ( properties * ) # system starting with OpenSSL 1.1 result += crypto ssl ; } + # boost.asio use the pre-1.1 OpenSSL API + result += OPENSSL_API_COMPAT=0x10000000L ; } if libcrypto in $(properties) diff --git a/appveyor.yml b/appveyor.yml index 1fd84ed86..ca1cf289f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -26,8 +26,6 @@ environment: compiler: gcc model: 32 crypto: openssl - linkflags: 'linkflags="-LC:\\OpenSSL-Win32\\lib"' - include: 'include="c:\\OpenSSL-Win32\\include"' install: - if defined sim ( git submodule update --init --recursive )