@@ -147,7 +147,7 @@ impl Build {
147147 // Change the install directory to happen inside of the build directory.
148148 if host. contains ( "pc-windows-gnu" ) {
149149 configure. arg ( & format ! ( "--prefix={}" , sanitize_sh( & install_dir) ) ) ;
150- } else if host. contains ( "pc-windows-msvc" ) {
150+ } else if host. contains ( "pc-windows-msvc" ) || host . contains ( "win7-windows-msvc" ) {
151151 // On Windows, the prefix argument does not support \ path seperators
152152 // when cross compiling.
153153 // Always use / as a path seperator instead of \, since that works for both
@@ -308,6 +308,7 @@ impl Build {
308308 "i686-linux-android" => "linux-elf" ,
309309 "i686-pc-windows-gnu" => "mingw" ,
310310 "i686-pc-windows-msvc" => "VC-WIN32" ,
311+ "i686-win7-windows-msvc" => "VC-WIN32" ,
311312 "i686-unknown-freebsd" => "BSD-x86-elf" ,
312313 "i686-unknown-haiku" => "haiku-x86" ,
313314 "i686-unknown-linux-gnu" => "linux-elf" ,
@@ -351,6 +352,7 @@ impl Build {
351352 "x86_64-linux" => "linux-x86_64" ,
352353 "x86_64-pc-windows-gnu" => "mingw64" ,
353354 "x86_64-pc-windows-msvc" => "VC-WIN64A" ,
355+ "x86_64-win7-windows-msvc" => "VC-WIN64A" ,
354356 "x86_64-unknown-freebsd" => "BSD-x86_64" ,
355357 "x86_64-unknown-dragonfly" => "BSD-x86_64" ,
356358 "x86_64-unknown-haiku" => "haiku-x86_64" ,
0 commit comments