Skip to content

Commit

Permalink
specify --with-openssl-dir in php ./configure
Browse files Browse the repository at this point in the history
I'm not sure if this is correct, please revert if it doesn't fix the issue
  • Loading branch information
DubbleClick committed Oct 27, 2023
1 parent d40f2ca commit 2e47e8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/ext.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
},
"openssl": {
"type": "builtin",
"arg-type": "with",
"arg-type": "custom",
"lib-depends": [
"openssl"
],
Expand Down
5 changes: 5 additions & 0 deletions src/SPC/builder/extension/openssl.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,9 @@ public function patchBeforeMake(): bool

return false;
}

public function getUnixConfigureArg(): string
{
return '--with-openssl=' . BUILD_ROOT_PATH . ' --with-openssl-dir=' . BUILD_ROOT_PATH;
}
}

0 comments on commit 2e47e8a

Please sign in to comment.