Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Fixed vcbuild.bat.
Browse files Browse the repository at this point in the history
gyp_uv was complaining because it never receives a value for which
type of library to build (static vs shared). Basically just set the
default to build a static library.
  • Loading branch information
BlueHaunter committed Sep 25, 2012
1 parent 5bfb7c9 commit 9eadbc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vcbuild.bat
Expand Up @@ -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
Expand Down Expand Up @@ -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


Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9eadbc3

Please sign in to comment.