diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-05-09 14:07:50 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-05-09 14:07:50 (GMT) |
commit | 10c2dba8b26e22b239227775a87fd5931a1ef187 (patch) | |
tree | 846c030cf59c0eba718830d6f35a4d5daaab9e65 /PCbuild/prepare_ssl.bat | |
parent | 983c1065fed667cc17cab1c1ef788ab1ebd084e9 (diff) | |
download | cpython-10c2dba8b26e22b239227775a87fd5931a1ef187.zip cpython-10c2dba8b26e22b239227775a87fd5931a1ef187.tar.gz cpython-10c2dba8b26e22b239227775a87fd5931a1ef187.tar.bz2 |
Issue #21141: The Windows build process no longer attempts to find Perl,
instead relying on OpenSSL source being configured and ready to build. The
``PCbuild\build_ssl.py`` script has been re-written and re-named to
``PCbuild\prepare_ssl.py``, and takes care of configuring OpenSSL source
for both 32 and 64 bit platforms. OpenSSL sources obtained from
svn.python.org will always be pre-configured and ready to build.
Diffstat (limited to 'PCbuild/prepare_ssl.bat')
-rw-r--r-- | PCbuild/prepare_ssl.bat | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/PCbuild/prepare_ssl.bat b/PCbuild/prepare_ssl.bat new file mode 100644 index 0000000..cb06500 --- /dev/null +++ b/PCbuild/prepare_ssl.bat @@ -0,0 +1,12 @@ +@echo off +if not defined HOST_PYTHON ( + if %1 EQU Debug ( + shift + set HOST_PYTHON=python_d.exe + if not exist python35_d.dll exit 1 + ) ELSE ( + set HOST_PYTHON=python.exe + if not exist python35.dll exit 1 + ) +) +%HOST_PYTHON% prepare_ssl.py %1 |