goddamn centos 7

This commit is contained in:
DubbleClick 2025-07-22 11:48:12 +07:00
parent 6594f6b653
commit 9e7e2e30a4

View File

@ -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);
}