diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-06 18:09:34 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-10-06 18:09:34 +0000 |
commit | 48b38bdbbea2ce2b7ea6aabfbbf95c54ad8cb014 (patch) | |
tree | e3ddd95854fc082ce0bba9f7ba4885579596819e /w32/common/gen_dll_res.ps1 | |
parent | f2426d2b0ff551f3585eda7f68fe1e7c8e4aa5c4 (diff) | |
download | libmicrohttpd-48b38bdbbea2ce2b7ea6aabfbbf95c54ad8cb014.tar.gz libmicrohttpd-48b38bdbbea2ce2b7ea6aabfbbf95c54ad8cb014.zip |
Fixed VS builds.
Diffstat (limited to 'w32/common/gen_dll_res.ps1')
-rw-r--r-- | w32/common/gen_dll_res.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/w32/common/gen_dll_res.ps1 b/w32/common/gen_dll_res.ps1 index e51d1034..92560ee0 100644 --- a/w32/common/gen_dll_res.ps1 +++ b/w32/common/gen_dll_res.ps1 | |||
@@ -8,7 +8,7 @@ Remove-Variable MHD_ver,MHD_ver_major,MHD_ver_minor,MHD_ver_patchlev -ErrorActio | |||
8 | Write-Output "Processing: ${BasePath}..\..\configure.ac" | 8 | Write-Output "Processing: ${BasePath}..\..\configure.ac" |
9 | foreach($line in Get-Content "${BasePath}..\..\configure.ac") | 9 | foreach($line in Get-Content "${BasePath}..\..\configure.ac") |
10 | { | 10 | { |
11 | if ($line -match '^AC_INIT\(\[libmicrohttpd\],\[((\d+).(\d+).(\d+))\]') | 11 | if ($line -match '^AC_INIT\(\[(?:GNU )?libmicrohttpd\],\[((\d+).(\d+).(\d+))\]') |
12 | { | 12 | { |
13 | [string]$MHD_ver = $Matches[1].ToString() | 13 | [string]$MHD_ver = $Matches[1].ToString() |
14 | [string]$MHD_ver_major = $Matches[2].ToString() | 14 | [string]$MHD_ver_major = $Matches[2].ToString() |