Skip to content

Commit 10d0486

Browse files
committed
Add patch for zip
1 parent 1e0a6a6 commit 10d0486

File tree

1 file changed

+6
-0
lines changed
  • extension/BuildPhpExtension/patches

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Invoke-WebRequest -Uri https://raw.githubusercontent.com/pierrejoye/php_zip/master/config.w32 -OutFile config.w32
2+
$fn = @"
3+
ADD_FLAG("LDFLAGS_ZIP", "/FORCE:MULTIPLE");
4+
AC_DEFINE('HAVE_LIBZIP', 1);
5+
"@
6+
(Get-Content config.w32) | ForEach-Object { $_.Replace("AC_DEFINE('HAVE_LIBZIP', 1);", $fn) } | Set-Content config.w32

0 commit comments

Comments
 (0)