diff --git a/scripts/build.sh b/scripts/build.sh
index 3f34bdac1bacab1641c136e981ce06f92a0faeae..370fe4ce1cabc805ce48453c8673e70a0844e563 100644
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -37,7 +37,7 @@ export NGINX_CT_DIR
 echo "DEPENDENCY: OpenSSL"
 git clone -q --recursive --depth 1 https://github.com/openssl/openssl.git -b "$OPENSSL_TAG" "$OPENSSL_DIR"
 cd "$OPENSSL_DIR" || exit
-./config
+./config no-shared
 
 # Dependency: ngx_brotli (no tagged releases)
 echo ""