mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 08:15:39 +08:00
remove extra libraries for php configure/make, since they're the same and only depend on the target libc
This commit is contained in:
@@ -64,9 +64,8 @@ class SPCConfigUtil
|
||||
|
||||
// embed
|
||||
$libs = trim("-lphp -lc {$libs}");
|
||||
$extra_env = getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_LIBS');
|
||||
if (is_string($extra_env)) {
|
||||
$libs .= ' ' . trim($extra_env, '"');
|
||||
if ($extra_libs = SPCTarget::getRuntimeLibs()) {
|
||||
$libs .= " {$extra_libs}";
|
||||
}
|
||||
// c++
|
||||
if ($this->builder->hasCpp()) {
|
||||
|
||||
Reference in New Issue
Block a user