aboutsummaryrefslogtreecommitdiff
path: root/w32/common/gen_dll_res.ps1
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-10-06 18:09:34 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-10-06 18:09:34 +0000
commit48b38bdbbea2ce2b7ea6aabfbbf95c54ad8cb014 (patch)
treee3ddd95854fc082ce0bba9f7ba4885579596819e /w32/common/gen_dll_res.ps1
parentf2426d2b0ff551f3585eda7f68fe1e7c8e4aa5c4 (diff)
downloadlibmicrohttpd-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.ps12
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
8Write-Output "Processing: ${BasePath}..\..\configure.ac" 8Write-Output "Processing: ${BasePath}..\..\configure.ac"
9foreach($line in Get-Content "${BasePath}..\..\configure.ac") 9foreach($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()