mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 10:25:36 +08:00
Add cli, cgi, micro output
This commit is contained in:
@@ -693,8 +693,11 @@ C_CODE;
|
|||||||
'php-cli' => 'Binary path for cli SAPI',
|
'php-cli' => 'Binary path for cli SAPI',
|
||||||
'php-cgi' => 'Binary path for cgi SAPI',
|
'php-cgi' => 'Binary path for cgi SAPI',
|
||||||
'php-micro' => 'Binary path for micro SAPI',
|
'php-micro' => 'Binary path for micro SAPI',
|
||||||
|
default => null,
|
||||||
};
|
};
|
||||||
$package->setOutput($output_label, $dst_file);
|
if ($output_label) {
|
||||||
|
$package->setOutput($output_label, $dst_file);
|
||||||
|
}
|
||||||
|
|
||||||
// copy .pdb debug info file
|
// copy .pdb debug info file
|
||||||
if ($builder->getOption('no-strip', false) && file_exists("{$src[0]}\\{$src[2]}")) {
|
if ($builder->getOption('no-strip', false) && file_exists("{$src[0]}\\{$src[2]}")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user