summaryrefslogtreecommitdiffstats
path: root/PCbuild/build_ssl.bat
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-11-15 19:11:49 (GMT)
committerThomas Heller <theller@ctypes.org>2007-11-15 19:11:49 (GMT)
commita041ba56fb208e86a7e1dcc6f1449c4741bd0683 (patch)
tree08f1837bfa88960a6b30a6ba8557225bcbf80732 /PCbuild/build_ssl.bat
parent2be03734f89fa0a5de0a2426790be2d16440fb68 (diff)
downloadcpython-a041ba56fb208e86a7e1dcc6f1449c4741bd0683.zip
cpython-a041ba56fb208e86a7e1dcc6f1449c4741bd0683.tar.gz
cpython-a041ba56fb208e86a7e1dcc6f1449c4741bd0683.tar.bz2
On Win64, linking the python dll currently fails with 'unresolved
external symbol PyObject_Unicode'. Building _ssl than hangs the build server because starting python.exe displayes a message box that 'Python30.dll' cannot be found. Temporary (?) solution: Look for existance of python30.dll and fail the _ssl build when it is missing.
Diffstat (limited to 'PCbuild/build_ssl.bat')
-rw-r--r--PCbuild/build_ssl.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/PCbuild/build_ssl.bat b/PCbuild/build_ssl.bat
index 9aad441..3c87f82 100644
--- a/PCbuild/build_ssl.bat
+++ b/PCbuild/build_ssl.bat
@@ -4,8 +4,10 @@ if "%1" == "ReleaseAMD64" call "%MSSdk%\SetEnv" /XP64 /RETAIL
if not defined HOST_PYTHON (
if %1 EQU Debug (
set HOST_PYTHON=python_d.exe
+ if not exist python30_d.dll exit 1
) ELSE (
set HOST_PYTHON=python.exe
+ if not exist python30.dll exit 1
)
)
%HOST_PYTHON% build_ssl.py %1 %2