diff --git a/conda.recipe/bld.bat b/conda.recipe/bld.bat index 5ddc156..1e575cb 100644 --- a/conda.recipe/bld.bat +++ b/conda.recipe/bld.bat @@ -1,4 +1,5 @@ -call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" x64 +if "%ARCH%" == "32" (set PLATFORM=x86) else (set PLATFORM=x64) +call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %PLATFORM% set DISTUTILS_USE_SDK=1 set MSSdk=1 "%PYTHON%" setup.py install