Invoke-WebRequest $source -OutFile $destination
- $source = "http://slproweb.com/download/Win32OpenSSL-1_0_1L.exe"
+ $source = "https://slproweb.com/download/Win32OpenSSL-1_0_2d.exe"
- $destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_1L.exe"
+ $destination = "C:\ovs-build-downloads\Win32OpenSSL-1_0_2d.exe"
Invoke-WebRequest $source -OutFile $destination
cd C:\ovs-build-downloads
- .\Win32OpenSSL-1_0_1L.exe /silent /verysilent /sp- /suppressmsgboxes
+ .\Win32OpenSSL-1_0_2d.exe /silent /verysilent /sp- /suppressmsgboxes
Start-Sleep -s 30
- C:\MinGW\msys\1.0\bin\bash -lc "cp /c/pthreads-win32/Pre-built.2/dll/x86/*.dll /c/openvswitch/."
- C:\MinGW\msys\1.0\bin\bash -lc "mv /bin/link.exe /bin/link_copy.exe"
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./boot.sh"
-- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./configure CC=build-aux/cccl LD=\"`which link`\" LIBS=-lws2_32 --with-pthread=C:/pthreads-win32/Pre-built.2 --with-openssl=C:/OpenSSL-Win32 --with-vstudioddk=\"Win8.1 Debug\""
+- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && ./configure CC=build-aux/cccl LD=\"`which link`\" LIBS=\"-lws2_32 -liphlpapi\" --with-pthread=C:/pthreads-win32/Pre-built.2 --with-openssl=C:/OpenSSL-Win32 --with-vstudiotarget=\"Debug\""
- C:\MinGW\msys\1.0\bin\bash -lc "cd /c/openvswitch && make"