We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e0a6a6 commit 10d0486Copy full SHA for 10d0486
extension/BuildPhpExtension/patches/zip.ps1
@@ -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