We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7e2e3 commit 62a58d4Copy full SHA for 62a58d4
src/SPC/builder/Extension.php
@@ -532,7 +532,7 @@ protected function getStaticAndSharedLibs(): array
532
$sharedLibString .= '-l' . $lib . ' ';
533
}
534
535
- // move static libstdc++ to shared if we are on non-full-static build target
+ // move -lstdc++ to static libraries because centos 7 the shared libstdc++ is incomplete
536
if (str_contains((string) getenv('PATH'), 'rh/devtoolset-10')) {
537
$staticLibString .= ' -lstdc++';
538
$sharedLibString = str_replace('-lstdc++', '', $sharedLibString);
0 commit comments