mirror of
https://github.com/php-win-ext/php-windows-builder.git
synced 2026-03-24 00:52:06 +01:00
Add patch for oauth
This commit is contained in:
2
extension/BuildPhpExtension/patches/oauth.ps1
Normal file
2
extension/BuildPhpExtension/patches/oauth.ps1
Normal file
@@ -0,0 +1,2 @@
|
||||
Set-Content config.w32 -Value (Get-Content config.w32 | Where-Object { $_ -notmatch 'zlib' })
|
||||
(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
|
||||
Reference in New Issue
Block a user