From 58098af689a4ab3ecc1c1406cbddb0f86398dd29 Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Sat, 27 Apr 2019 17:53:16 -0400 Subject: [PATCH] OpenSSL: Re-enable `async` and `engine` We can't build `libgit2` while passing `no-engine` to OpenSSL. Let's also try removing `no-async`, just in case somebody needs that. `no-engine` seems to break OpenSSL 1.0 but not 1.1. I'm not feeling motivated to find out why on a Saturday; let the CI system see if this works. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a3accb9..0534013 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,7 +79,7 @@ RUN echo "Building OpenSSL" && \ cd /tmp && \ curl -LO "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz" && \ tar xvzf "openssl-$OPENSSL_VERSION.tar.gz" && cd "openssl-$OPENSSL_VERSION" && \ - env CC=musl-gcc ./Configure no-shared no-zlib no-async no-engine -fPIC --prefix=/usr/local/musl -DOPENSSL_NO_SECURE_MEMORY linux-x86_64 && \ + env CC=musl-gcc ./Configure no-shared no-zlib -fPIC --prefix=/usr/local/musl -DOPENSSL_NO_SECURE_MEMORY linux-x86_64 && \ env C_INCLUDE_PATH=/usr/local/musl/include/ make depend && \ make && sudo make install && \ rm -r /tmp/*