windows: fix vcbuild.bat issue

gyp_uv was complaining because it never receives a value for which type
of library to build (static vs shared). This makes vcbuild.bat set the
default to build a static library.
This commit is contained in:
Shannen Saez 2012-09-26 03:20:44 +10:00 committed by Bert Belder
parent 5bfb7c917b
commit 8afd71a128

View File

@ -20,6 +20,7 @@ set run=
set target_arch=ia32 set target_arch=ia32
set vs_toolset=x86 set vs_toolset=x86
set platform=WIN32 set platform=WIN32
set library=static_library
:next-arg :next-arg
if "%1"=="" goto args-done if "%1"=="" goto args-done
@ -77,7 +78,7 @@ if errorlevel 1 goto gyp_install_failed
goto have_gyp goto have_gyp
:gyp_install_failed :gyp_install_failed
echo Failed to download gyp. Make sure you have subversion installed, or echo Failed to download gyp. Make sure you have subversion installed, or
echo manually install gyp into %~dp0build\gyp. echo manually install gyp into %~dp0build\gyp.
goto exit goto exit
@ -113,7 +114,7 @@ echo running '%config%\%run%'
goto exit goto exit
:create-msvs-files-failed :create-msvs-files-failed
echo Failed to create vc project files. echo Failed to create vc project files.
goto exit goto exit
:help :help