strip all may strip things needed for relocation on musl

This commit is contained in:
DubbleClick
2025-07-05 13:52:47 +07:00
parent e31e228d10
commit a191c136dc
3 changed files with 52 additions and 27 deletions

View File

@@ -210,7 +210,7 @@ class BSDBuilder extends UnixBuilderBase
->exec("make -j{$this->concurrency} {$vars} micro");
if (!$this->getOption('no-strip', false)) {
shell()->cd(SOURCE_PATH . '/php-src/sapi/micro')->exec('strip --strip-all micro.sfx');
shell()->cd(SOURCE_PATH . '/php-src/sapi/micro')->exec('strip --strip-unneeded micro.sfx');
}
$this->deployBinary(BUILD_TARGET_MICRO);