mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 00:35:41 +08:00
allow building and linking with shared instead of static libs
This commit is contained in:
@@ -59,8 +59,9 @@ class openssl extends LinuxLibraryBase
|
||||
|
||||
shell()->cd($this->source_dir)->initializeEnv($this)
|
||||
->exec(
|
||||
"{$env} ./Configure no-shared {$extra} " .
|
||||
'--prefix=' . BUILD_ROOT_PATH . ' ' .
|
||||
"./Configure " .
|
||||
(getenv('SPC_STATIC_LIBS') ? 'no-shared' : '') .
|
||||
" {$extra} " . '--prefix=' . BUILD_ROOT_PATH . ' ' .
|
||||
'--libdir=' . BUILD_LIB_PATH . ' ' .
|
||||
"--openssldir={$openssl_dir} " .
|
||||
"{$zlib_extra}" .
|
||||
|
||||
Reference in New Issue
Block a user