]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
On Win64, linking the python dll currently fails with 'unresolved
authorThomas Heller <theller@ctypes.org>
Thu, 15 Nov 2007 19:11:49 +0000 (19:11 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 15 Nov 2007 19:11:49 +0000 (19:11 +0000)
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.

PCbuild/build_ssl.bat

index 9aad44127baf158a6ab92fc1146fb7df7d2b8e63..3c87f82104b374a512b1cfdf0ead2b47334ff625 100644 (file)
@@ -4,8 +4,10 @@ if "%1" == "ReleaseAMD64" call "%MSSdk%\SetEnv" /XP64 /RETAIL
 if not defined HOST_PYTHON (\r
   if %1 EQU Debug (\r
     set HOST_PYTHON=python_d.exe\r
+    if not exist python30_d.dll exit 1\r
   ) ELSE (\r
     set HOST_PYTHON=python.exe\r
+    if not exist python30.dll exit 1\r
   )\r
 )\r
 %HOST_PYTHON% build_ssl.py %1 %2\r