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 6594f6b commit 9e7e2e3Copy full SHA for 9e7e2e3
src/SPC/builder/Extension.php
@@ -533,7 +533,7 @@ protected function getStaticAndSharedLibs(): array
533
}
534
535
// move static libstdc++ to shared if we are on non-full-static build target
536
- if (SPCTarget::isStatic()) {
+ if (str_contains((string) getenv('PATH'), 'rh/devtoolset-10')) {
537
$staticLibString .= ' -lstdc++';
538
$sharedLibString = str_replace('-lstdc++', '', $sharedLibString);
539
0 commit comments