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 4e95452 commit 811aeb5Copy full SHA for 811aeb5
src/SPC/builder/extension/imagick.php
@@ -19,7 +19,7 @@ public function getUnixConfigureArg(bool $shared = false): string
19
protected function splitLibsIntoStaticAndShared(string $allLibs): array
20
{
21
[$static, $shared] = parent::splitLibsIntoStaticAndShared($allLibs);
22
- if (str_contains(getenv('PATH'), 'rh/devtoolset-10')) {
+ if (str_contains(getenv('PATH'), 'rh/devtoolset-10') || str_contains(getenv('PATH'), 'gcc-toolset')) {
23
$static .= ' -l:libstdc++.a';
24
$shared = str_replace('-lstdc++', '', $shared);
25
}
0 commit comments