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 a6b843f commit 21265cdCopy full SHA for 21265cd
src/SPC/builder/linux/LinuxBuilder.php
@@ -318,6 +318,7 @@ protected function buildEmbed(): void
318
shell()->cd(SOURCE_PATH . '/php-src')
319
->exec('sed -i "s|//lib|/lib|g" Makefile')
320
->exec(getenv('SPC_CMD_PREFIX_PHP_MAKE') . ' INSTALL_ROOT=' . BUILD_ROOT_PATH . " {$vars} install");
321
+ FileSystem::replaceFileStr(BUILD_BIN_PATH . '/php-config', 'prefix=""', 'prefix="' . BUILD_ROOT_PATH . '"');
322
}
323
324
private function getMakeExtraVars(): array
0 commit comments