fix no-strip

This commit is contained in:
henderkes 2025-12-29 23:58:54 +01:00
parent 7688a55656
commit 022fdb2fc5

View File

@ -145,11 +145,10 @@ abstract class UnixBuilderBase extends BuilderBase
throw new SPCInternalException("Deploy failed. Cannot find file after copy: {$dst}"); throw new SPCInternalException("Deploy failed. Cannot find file after copy: {$dst}");
} }
// extract debug info
$this->extractDebugInfo($dst);
// strip
if (!$this->getOption('no-strip')) { if (!$this->getOption('no-strip')) {
// extract debug info
$this->extractDebugInfo($dst);
// extra strip
$this->stripBinary($dst); $this->stripBinary($dst);
} }