From 3f066398357ee81216cf00ecb83f9f65a9a85aa7 Mon Sep 17 00:00:00 2001 From: BtbN Date: Sat, 5 Jun 2021 22:20:34 +0200 Subject: [PATCH] Explicitly enable OpenSSL on non-windows --- scripts.d/25-openssl.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scripts.d/25-openssl.sh b/scripts.d/25-openssl.sh index e5705b1..81d6ab4 100755 --- a/scripts.d/25-openssl.sh +++ b/scripts.d/25-openssl.sh @@ -48,3 +48,13 @@ ffbuild_dockerbuild() { make -j$(nproc) make install_sw } + +ffbuild_configure() { + [[ $TARGET == win* ]] && return + echo --enable-openssl +} + +ffbuild_unconfigure() { + [[ $TARGET == win* ]] && return + echo --disable-openssl +}