Fix openssl missing cert bug for Linux & macOS (#581)

* Fix openssl missing cert bug for linux

* Fix openssl missing cert bug for macOS
This commit is contained in:
Jerry Ma
2024-12-24 22:06:31 +08:00
committed by GitHub
parent 944f4af914
commit 4b16631d45
4 changed files with 6 additions and 4 deletions

View File

@@ -69,6 +69,7 @@ class openssl extends LinuxLibraryBase
"{$env} ./Configure no-shared {$extra} " .
'--prefix=/ ' .
'--libdir=lib ' .
'--openssldir=/etc/ssl ' .
'-static ' .
"{$zlib_extra}" .
'no-legacy ' .

View File

@@ -54,7 +54,7 @@ class openssl extends MacOSLibraryBase
"./Configure no-shared {$extra} " .
'--prefix=/ ' . // use prefix=/
"--libdir={$lib} " .
'--openssldir=/System/Library/OpenSSL ' .
'--openssldir=/etc/ssl ' .
"darwin64-{$this->builder->getOption('arch')}-cc"
)
->exec('make clean')