From acb5f7d1ba69b3c93ba869f2ad70468c8a739323 Mon Sep 17 00:00:00 2001 From: Dean Moldovan Date: Sat, 11 Jun 2016 21:13:47 +0200 Subject: [PATCH] Fix conda build on 32-bit Windows --- conda.recipe/bld.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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