mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
goddamn centos 7
This commit is contained in:
@@ -533,7 +533,7 @@ class Extension
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// move static libstdc++ to shared if we are on non-full-static build target
|
// 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++';
|
$staticLibString .= ' -lstdc++';
|
||||||
$sharedLibString = str_replace('-lstdc++', '', $sharedLibString);
|
$sharedLibString = str_replace('-lstdc++', '', $sharedLibString);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user