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 43dc04b commit 464c2dcCopy full SHA for 464c2dc
src/SPC/builder/unix/UnixBuilderBase.php
@@ -339,7 +339,7 @@ protected function buildFrankenphp(): void
339
$env = [
340
'CGO_ENABLED' => '1',
341
'CGO_CFLAGS' => $config['cflags'],
342
- 'CGO_LDFLAGS' => "$staticFlags {$config['ldflags']} {$config['libs']} {$lrt}",
+ 'CGO_LDFLAGS' => "{$staticFlags} {$config['ldflags']} {$config['libs']} {$lrt}",
343
'XCADDY_GO_BUILD_FLAGS' => '-buildmode=pie ' .
344
'-ldflags \"-linkmode=external ' . $extLdFlags . ' ' . $debugFlags .
345
'-X \'github.com/caddyserver/caddy/v2.CustomVersion=FrankenPHP ' .
0 commit comments