Skip to content

Commit 9e7e2e3

Browse files
committed
goddamn centos 7
1 parent 6594f6b commit 9e7e2e3

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
@@ -533,7 +533,7 @@ protected function getStaticAndSharedLibs(): array
533533
}
534534
}
535535
// move static libstdc++ to shared if we are on non-full-static build target
536-
if (SPCTarget::isStatic()) {
536+
if (str_contains((string) getenv('PATH'), 'rh/devtoolset-10')) {
537537
$staticLibString .= ' -lstdc++';
538538
$sharedLibString = str_replace('-lstdc++', '', $sharedLibString);
539539
}

0 commit comments

Comments
 (0)