Skip to content

Commit 864c55f

Browse files
committed
oops
1 parent 7628847 commit 864c55f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/SPC/builder/extension/amqp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function patchBeforeMake(): bool
2525

2626
public function getUnixConfigureArg(bool $shared = false): string
2727
{
28-
return '--with-amqp' . ($sh<ared ? '=shared' : '') . ' --with-librabbitmq-dir=' . BUILD_ROOT_PATH;
28+
return '--with-amqp' . ($shared ? '=shared' : '') . ' --with-librabbitmq-dir=' . BUILD_ROOT_PATH;
2929
}
3030

3131
public function getWindowsConfigureArg($shared = false): string

src/SPC/builder/extension/imagick.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function patchBeforeMake(): bool
1919
return false;
2020
}
2121
// imagick with calls omp_pause_all, which requires openmp, on non-musl we build imagick without openmp
22-
$extra_libs = trim(getenv('SPC_EXTRA_LIBS') . ' -lomp');
22+
$extra_libs = trim(getenv('SPC_EXTRA_LIBS') . ' -L/usr/lib64 -lomp');
2323
f_putenv('SPC_EXTRA_LIBS=' . $extra_libs);
2424
return true;
2525
}

src/SPC/builder/unix/UnixBuilderBase.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,10 @@ protected function buildFrankenphp(): void
325325
$xcaddyModules = str_replace('--with github.com/dunglas/caddy-cbrotli', '', $xcaddyModules);
326326
}
327327
$lrt = PHP_OS_FAMILY === 'Linux' ? '-lrt' : '';
328-
$releaseInfo = json_decode(Downloader::curlExec('https://api.github.com/repos/php/frankenphp/releases/latest', retries: 3, hooks: [[CurlHook::class, 'setupGithubToken']]), true);
328+
$releaseInfo = json_decode(Downloader::curlExec(
329+
'https://api.github.com/repos/php/frankenphp/releases/latest',
330+
hooks: [[CurlHook::class, 'setupGithubToken']],
331+
), true);
329332
$frankenPhpVersion = $releaseInfo['tag_name'];
330333
$libphpVersion = $this->getPHPVersion();
331334
if (getenv('SPC_CMD_VAR_PHP_EMBED_TYPE') === 'shared') {

0 commit comments

Comments
 (0)