Skip to content

Commit e5e6e26

Browse files
committed
Add cli, cgi, micro output
1 parent c671cfd commit e5e6e26

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Package/Target/php/windows.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,11 @@ protected function deployWindowsBinary(PackageBuilder $builder, TargetPackage $p
693693
'php-cli' => 'Binary path for cli SAPI',
694694
'php-cgi' => 'Binary path for cgi SAPI',
695695
'php-micro' => 'Binary path for micro SAPI',
696+
default => null,
696697
};
697-
$package->setOutput($output_label, $dst_file);
698+
if ($output_label) {
699+
$package->setOutput($output_label, $dst_file);
700+
}
698701

699702
// copy .pdb debug info file
700703
if ($builder->getOption('no-strip', false) && file_exists("{$src[0]}\\{$src[2]}")) {

0 commit comments

Comments
 (0)