mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
err
This commit is contained in:
parent
4be1e75128
commit
0e092284eb
@ -359,28 +359,7 @@ class Extension
|
||||
$env = [
|
||||
'CFLAGS' => $config['cflags'],
|
||||
'CXXFLAGS' => $config['cflags'],
|
||||
'LDFLAGS' => $config['ldflags']
|
||||
. ' -Wl,--require-defined=SSL_CTX_use_RSAPrivateKey'
|
||||
. ' -Wl,--undefined=SSL_connect'
|
||||
. ' -Wl,--undefined=SSL_ctrl'
|
||||
. ' -Wl,--undefined=SSL_CTX_ctrl'
|
||||
. ' -Wl,--undefined=SSL_CTX_free'
|
||||
. ' -Wl,--undefined=SSL_CTX_load_verify_locations'
|
||||
. ' -Wl,--undefined=SSL_CTX_new'
|
||||
. ' -Wl,--undefined=SSL_CTX_set_default_passwd_cb_userdata'
|
||||
. ' -Wl,--undefined=SSL_CTX_set_default_verify_paths'
|
||||
. ' -Wl,--undefined=SSL_CTX_use_certificate_chain_file'
|
||||
. ' -Wl,--undefined=SSL_CTX_use_PrivateKey_file'
|
||||
. ' -Wl,--undefined=SSL_CTX_use_RSAPrivateKey'
|
||||
. ' -Wl,--undefined=SSL_free'
|
||||
. ' -Wl,--undefined=SSL_get1_peer_certificate'
|
||||
. ' -Wl,--undefined=SSL_get_error'
|
||||
. ' -Wl,--undefined=SSL_get_verify_result'
|
||||
. ' -Wl,--undefined=SSL_new'
|
||||
. ' -Wl,--undefined=SSL_read'
|
||||
. ' -Wl,--undefined=SSL_set_bio'
|
||||
. ' -Wl,--undefined=SSL_shutdown'
|
||||
. ' -Wl,--undefined=SSL_write',
|
||||
'LDFLAGS' => $config['ldflags'],
|
||||
'LIBS' => '-Wl,-Bstatic -Wl,--start-group -Wl,--whole-archive ' . $staticLibString . ' -Wl,--no-whole-archive -Wl,--end-group -Wl,-Bdynamic ' . $sharedLibString,
|
||||
'LD_LIBRARY_PATH' => BUILD_LIB_PATH,
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user