mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 02:15:36 +08:00
restore buildphp command
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
"libxml2",
|
"libxml2",
|
||||||
"zlib"
|
"zlib"
|
||||||
],
|
],
|
||||||
"ext-depends": [
|
"ext-depends-windows": [
|
||||||
"xml"
|
"xml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -410,6 +410,9 @@
|
|||||||
},
|
},
|
||||||
"mysqli": {
|
"mysqli": {
|
||||||
"type": "builtin",
|
"type": "builtin",
|
||||||
|
"target": [
|
||||||
|
"static"
|
||||||
|
],
|
||||||
"arg-type": "with",
|
"arg-type": "with",
|
||||||
"ext-depends": [
|
"ext-depends": [
|
||||||
"mysqlnd"
|
"mysqlnd"
|
||||||
@@ -417,6 +420,9 @@
|
|||||||
},
|
},
|
||||||
"mysqlnd": {
|
"mysqlnd": {
|
||||||
"type": "builtin",
|
"type": "builtin",
|
||||||
|
"target": [
|
||||||
|
"static"
|
||||||
|
],
|
||||||
"arg-type-windows": "with",
|
"arg-type-windows": "with",
|
||||||
"lib-depends": [
|
"lib-depends": [
|
||||||
"zlib"
|
"zlib"
|
||||||
@@ -450,6 +456,9 @@
|
|||||||
"openssl": {
|
"openssl": {
|
||||||
"notes": true,
|
"notes": true,
|
||||||
"type": "builtin",
|
"type": "builtin",
|
||||||
|
"target": [
|
||||||
|
"static"
|
||||||
|
],
|
||||||
"arg-type": "custom",
|
"arg-type": "custom",
|
||||||
"arg-type-windows": "with",
|
"arg-type-windows": "with",
|
||||||
"lib-depends": [
|
"lib-depends": [
|
||||||
|
|||||||
@@ -188,6 +188,16 @@ class Extension
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Patch code before shared extension ./configure
|
||||||
|
* If you need to patch some code, overwrite this
|
||||||
|
* return true if you patched something, false if not
|
||||||
|
*/
|
||||||
|
public function patchBeforeSharedBuild(): bool
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run shared extension check when cli is enabled
|
* Run shared extension check when cli is enabled
|
||||||
* @throws RuntimeException
|
* @throws RuntimeException
|
||||||
@@ -423,14 +433,4 @@ class Extension
|
|||||||
|
|
||||||
return $deps;
|
return $deps;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Patch code before shared extension ./configure
|
|
||||||
* If you need to patch some code, overwrite this
|
|
||||||
* return true if you patched something, false if not
|
|
||||||
*/
|
|
||||||
public function patchBeforeSharedBuild(): bool
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ class BuildPHPCommand extends BuildCommand
|
|||||||
SourcePatcher::patchSPCVersionToPHP($this->getApplication()->getVersion());
|
SourcePatcher::patchSPCVersionToPHP($this->getApplication()->getVersion());
|
||||||
|
|
||||||
// start to build
|
// start to build
|
||||||
// $builder->buildPHP($rule);
|
$builder->buildPHP($rule);
|
||||||
|
|
||||||
SourcePatcher::patchBeforeSharedBuild($builder);
|
SourcePatcher::patchBeforeSharedBuild($builder);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user