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 c9d33bf commit 112f607Copy full SHA for 112f607
src/SPC/builder/Extension.php
@@ -217,7 +217,11 @@ public function patchBeforeSharedConfigure(): bool
217
*/
218
public function patchBeforeSharedMake(): bool
219
{
220
- if (ToolchainManager::getToolchainClass() === ZigToolchain::class && ($extra = (new ZigToolchain())->getExtraRuntimeObjects())) {
+ if (
221
+ PHP_OS_FAMILY === 'Linux' &&
222
+ ToolchainManager::getToolchainClass() === ZigToolchain::class &&
223
+ ($extra = (new ZigToolchain())->getExtraRuntimeObjects())
224
+ ) {
225
FileSystem::replaceFileRegex(
226
$this->source_dir . '/Makefile',
227
"/^(shared_objects_{$this->getName()}\\s*=.*)$/m",
0 commit comments