[Python-checkins] cpython (2.7): Issue #18402: Also look for 64 bit Perl in build_ssl.py.

zach.ware python-checkins at python.org
Mon Apr 13 17:53:22 CEST 2015


https://hg.python.org/cpython/rev/069dd1e347b4
changeset:   95568:069dd1e347b4
branch:      2.7
parent:      95538:c7a6a11a5013
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Mon Apr 13 10:46:40 2015 -0500
summary:
  Issue #18402: Also look for 64 bit Perl in build_ssl.py.

It's still not necessary to build, but may be useful to some.

files:
  PCbuild/build_ssl.py |  6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)


diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py
--- a/PCbuild/build_ssl.py
+++ b/PCbuild/build_ssl.py
@@ -158,7 +158,11 @@
         make_flags = "-a"
     # perl should be on the path, but we also look in "\perl" and "c:\\perl"
     # as "well known" locations
-    perls = find_all_on_path("perl.exe", ["\\perl\\bin", "C:\\perl\\bin"])
+    perls = find_all_on_path("perl.exe", [r"\perl\bin",
+                                          r"C:\perl\bin",
+                                          r"\perl64\bin",
+                                          r"C:\perl64\bin",
+                                         ])
     perl = find_working_perl(perls)
     if perl:
         print("Found a working perl at '%s'" % (perl,))

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list