mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
Add missing xml-related patches for windows
This commit is contained in:
parent
fe302bf8b9
commit
15e7678615
@ -22,6 +22,13 @@ use ZM\Logger\ConsoleColor;
|
|||||||
|
|
||||||
trait windows
|
trait windows
|
||||||
{
|
{
|
||||||
|
#[BeforeStage('php', [self::class, 'buildconfForWindows'])]
|
||||||
|
#[PatchDescription('Patch for fixing win32 xml related extensions builds')]
|
||||||
|
public function beforeBuildconfWin(TargetPackage $package): void
|
||||||
|
{
|
||||||
|
FileSystem::replaceFileStr("{$package->getSourceDir()}/win32/build/config.w32", 'dllmain.c ', '');
|
||||||
|
}
|
||||||
|
|
||||||
#[Stage]
|
#[Stage]
|
||||||
public function buildconfForWindows(TargetPackage $package): void
|
public function buildconfForWindows(TargetPackage $package): void
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user