diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-05 14:35:31 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-05 14:35:31 +0100 |
commit | 867116559a2c368d329c87fb39b8b08d73ecbd4b (patch) | |
tree | aa5501b1c0ca1b262812f728489a4f9e4fc39e00 /package | |
parent | acee2f49d3ec12b44177ea750c08232965d468ba (diff) |
fix python2 compile in Darwin
Diffstat (limited to 'package')
-rw-r--r-- | package/python2/patches/patch-setup_py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/package/python2/patches/patch-setup_py b/package/python2/patches/patch-setup_py index 3a80230c2..4973a91b2 100644 --- a/package/python2/patches/patch-setup_py +++ b/package/python2/patches/patch-setup_py @@ -1,5 +1,5 @@ --- Python-2.7.5.orig/setup.py 2013-05-12 05:32:54.000000000 +0200 -+++ Python-2.7.5/setup.py 2013-11-01 14:53:38.000000000 +0100 ++++ Python-2.7.5/setup.py 2014-02-03 17:07:52.000000000 +0100 @@ -74,7 +74,7 @@ def find_file(filename, std_dirs, paths) 'paths' is a list of additional locations to check; if the file is found in one of them, the resulting list will contain the directory. @@ -119,12 +119,3 @@ # This should work on any unixy platform ;-) # If the user has bothered specifying additional -I and -L flags # in OPT and LDFLAGS we might as well use them here. -@@ -837,7 +847,7 @@ class PyBuildExt(build_ext): - openssl_ver >= min_openssl_ver) - - if have_any_openssl: -- if have_usable_openssl: -+ if have_usable_openssl and host_platform != 'darwin': - # The _hashlib module wraps optimized implementations - # of hash functions from the OpenSSL library. - exts.append( Extension('_hashlib', ['_hashopenssl.c'], |