diff --git a/scripts.d/25-openssl.sh b/scripts.d/25-openssl.sh index 1ac7682..b901514 100755 --- a/scripts.d/25-openssl.sh +++ b/scripts.d/25-openssl.sh @@ -20,6 +20,11 @@ ffbuild_dockerbuild() { threads zlib no-shared + no-tests + no-apps + no-legacy + no-ssl2 + no-ssl3 enable-camellia enable-ec enable-srp @@ -61,6 +66,9 @@ ffbuild_dockerbuild() { export AR="${AR/${FFBUILD_CROSS_PREFIX}/}" export RANLIB="${RANLIB/${FFBUILD_CROSS_PREFIX}/}" + # Actually allow Configure to disable apps + sed -i '/^my @disablables =/ s/$/"apps",/' Configure + ./Configure "${myconf[@]}" sed -i -e "/^CFLAGS=/s|=.*|=${CFLAGS}|" -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" Makefile