mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
goddamn centos 7
This commit is contained in:
parent
6594f6b653
commit
9e7e2e30a4
@ -533,7 +533,7 @@ class Extension
|
||||
}
|
||||
}
|
||||
// move static libstdc++ to shared if we are on non-full-static build target
|
||||
if (SPCTarget::isStatic()) {
|
||||
if (str_contains((string) getenv('PATH'), 'rh/devtoolset-10')) {
|
||||
$staticLibString .= ' -lstdc++';
|
||||
$sharedLibString = str_replace('-lstdc++', '', $sharedLibString);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user