From ec2830dd625796b103471413d89f49a6ed90d03c Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Fri, 27 Oct 2023 18:22:43 +0200 Subject: [PATCH] specify --with-openssl-dir in php ./configure I'm not sure if this is correct, please revert if it doesn't fix the issue --- config/ext.json | 2 +- src/SPC/builder/extension/openssl.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config/ext.json b/config/ext.json index f2698d5ec..b18c8eb93 100644 --- a/config/ext.json +++ b/config/ext.json @@ -232,7 +232,7 @@ }, "openssl": { "type": "builtin", - "arg-type": "with", + "arg-type": "custom", "lib-depends": [ "openssl" ], diff --git a/src/SPC/builder/extension/openssl.php b/src/SPC/builder/extension/openssl.php index a81f24b55..c9bc15d20 100644 --- a/src/SPC/builder/extension/openssl.php +++ b/src/SPC/builder/extension/openssl.php @@ -22,4 +22,9 @@ public function patchBeforeMake(): bool return false; } + + public function getUnixConfigureArg(): string + { + return '--with-openssl --with-openssl-dir=' . BUILD_ROOT_PATH; + } }