]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #18402: Also look for 64 bit Perl in build_ssl.py.
authorZachary Ware <zachary.ware@gmail.com>
Mon, 13 Apr 2015 15:46:40 +0000 (10:46 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Mon, 13 Apr 2015 15:46:40 +0000 (10:46 -0500)
It's still not necessary to build, but may be useful to some.

PCbuild/build_ssl.py

index 52daef0cbace09a719d96ae584ee238bc1d655c0..dd8bb185a90a98cece0556818568dc8957f5108a 100644 (file)
@@ -158,7 +158,11 @@ def main():
         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,))