Skip to content

Commit 2e6c151

Browse files
committed
Add patch for oauth
1 parent 9c3bf94 commit 2e6c151

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Set-Content config.w32 -Value (Get-Content config.w32 | Where-Object { $_ -notmatch 'zlib' })
2+
(Get-Content config.w32) | ForEach-Object { $_.Replace('CHECK_LIB("normaliz.lib", "oauth", PHP_OAUTH)', 'CHECK_LIB("normaliz.lib", "oauth", PHP_OAUTH) && CHECK_LIB("zlib.lib;zlib_a.lib", "oauth", PHP_OAUTH) && CHECK_LIB("crypt32.lib", "oauth", PHP_OAUTH)') } | Set-Content config.w32

0 commit comments

Comments
 (0)