Skip to content

Commit 62a58d4

Browse files
committed
describe centos 7 behaviour better
1 parent 9e7e2e3 commit 62a58d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SPC/builder/Extension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ protected function getStaticAndSharedLibs(): array
532532
$sharedLibString .= '-l' . $lib . ' ';
533533
}
534534
}
535-
// move static libstdc++ to shared if we are on non-full-static build target
535+
// move -lstdc++ to static libraries because centos 7 the shared libstdc++ is incomplete
536536
if (str_contains((string) getenv('PATH'), 'rh/devtoolset-10')) {
537537
$staticLibString .= ' -lstdc++';
538538
$sharedLibString = str_replace('-lstdc++', '', $sharedLibString);

0 commit comments

Comments
 (0)