We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f7a35 commit d1b1949Copy full SHA for d1b1949
src/SPC/builder/linux/library/openssl.php
@@ -51,14 +51,16 @@ public function build(): void
51
$zlib_extra = '';
52
}
53
54
+ $openssl_conf = getenv('OPENSSL_CONF');
55
+ $openssl_dir = $openssl_conf ? dirname($openssl_conf) : '/etc/ssl';
56
$ex_lib = trim($ex_lib);
57
58
shell()->cd($this->source_dir)->initializeEnv($this)
59
->exec(
60
"{$env} ./Configure no-shared {$extra} " .
61
'--prefix=' . BUILD_ROOT_PATH . ' ' .
62
'--libdir=' . BUILD_LIB_PATH . ' ' .
- '--openssldir=/etc/ssl ' .
63
+ "--openssldir={$openssl_dir} " .
64
"{$zlib_extra}" .
65
'enable-pie ' .
66
'no-legacy ' .
0 commit comments