diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2013-04-10 11:42:21 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2013-04-10 11:42:21 +0400 |
commit | 3fd7c70391fef9a1593b25a808766c352239e958 (patch) | |
tree | 8ed845aca8afc7bf489028a31db0fdf5ad6ce680 /python2.7/patches/setup-modules-ssl.diff | |
parent | 92b26142a3d204fb1ce30f68ba1dfdd7f92a0b36 (diff) | |
download | cibs-pkgs-3fd7c70391fef9a1593b25a808766c352239e958.tar.gz |
Adapt Debian patches
Diffstat (limited to 'python2.7/patches/setup-modules-ssl.diff')
-rw-r--r-- | python2.7/patches/setup-modules-ssl.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/python2.7/patches/setup-modules-ssl.diff b/python2.7/patches/setup-modules-ssl.diff new file mode 100644 index 0000000..d4bf356 --- /dev/null +++ b/python2.7/patches/setup-modules-ssl.diff @@ -0,0 +1,24 @@ +# DP: Modules/Setup.dist: patch to build _hashlib and _ssl extensions statically + +--- a/Modules/Setup.dist ++++ b/Modules/Setup.dist +@@ -211,10 +211,7 @@ + + # Socket module helper for SSL support; you must comment out the other + # socket line above, and possibly edit the SSL variable: +-#SSL=/usr/local/ssl +-#_ssl _ssl.c \ +-# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \ +-# -L$(SSL)/lib -lssl -lcrypto ++#_ssl _ssl.c -lssl -lcrypto + + # The crypt module is now disabled by default because it breaks builds + # on many systems (where -lcrypt is needed), e.g. Linux (I believe). +@@ -257,6 +254,7 @@ + #_sha256 sha256module.c + #_sha512 sha512module.c + ++#_hashlib _hashopenssl.c -lssl -lcrypto + + # SGI IRIX specific modules -- off by default. + |