Lines 24-29
Link Here
|
24 |
|
24 |
|
25 |
def add_dir_to_list(dirlist, dir): |
25 |
def add_dir_to_list(dirlist, dir): |
26 |
"""Add the directory 'dir' to the list 'dirlist' (at the front) if |
26 |
"""Add the directory 'dir' to the list 'dirlist' (at the front) if |
|
|
27 |
@@ -888,7 +889,7 @@ class PyBuildExt(build_ext): |
28 |
|
29 |
# look for the openssl version header on the compiler search path. |
30 |
opensslv_h = find_file('openssl/opensslv.h', [], |
31 |
- inc_dirs + search_for_ssl_incs_in) |
32 |
+ ['%%OPENSSLINC%%'] + inc_dirs + search_for_ssl_incs_in) |
33 |
if opensslv_h: |
34 |
name = os.path.join(opensslv_h[0], 'openssl/opensslv.h') |
35 |
if host_platform == 'darwin' and is_macosx_sdk_path(name): |
27 |
@@ -1234,7 +1235,7 @@ class PyBuildExt(build_ext): |
36 |
@@ -1234,7 +1235,7 @@ class PyBuildExt(build_ext): |
28 |
sysroot = macosx_sdk_root() |
37 |
sysroot = macosx_sdk_root() |
29 |
f = os.path.join(sysroot, f[1:]) |
38 |
f = os.path.join(sysroot, f[1:]) |