aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/build_openssl.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-06-20 19:21:43 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-06-20 19:21:43 -0400
commit5e12f87d5c297771b59116914dcb2500dde25294 (patch)
treeaaf9c544e2aaf7a053ab0b8dd2c819d4acdeed1b /src/_cffi_src/build_openssl.py
parentb2c2ff493c08f1c713fc88e3d2c4d9293beff4b9 (diff)
parentdccbc9b00a17afcfdee35505fcf69bf3ce076056 (diff)
downloadcryptography-5e12f87d5c297771b59116914dcb2500dde25294.tar.gz
cryptography-5e12f87d5c297771b59116914dcb2500dde25294.tar.bz2
cryptography-5e12f87d5c297771b59116914dcb2500dde25294.zip
Merge pull request #2034 from reaperhulk/windows-flags
enable ASLR and NX on windows builds (affects 2.x only)
Diffstat (limited to 'src/_cffi_src/build_openssl.py')
-rw-r--r--src/_cffi_src/build_openssl.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/_cffi_src/build_openssl.py b/src/_cffi_src/build_openssl.py
index 4c30fe48..1ebadccb 100644
--- a/src/_cffi_src/build_openssl.py
+++ b/src/_cffi_src/build_openssl.py
@@ -7,9 +7,7 @@ from __future__ import absolute_import, division, print_function
import os
import sys
-from _cffi_src.utils import (
- build_ffi_for_binding
-)
+from _cffi_src.utils import build_ffi_for_binding, extra_link_args
def _get_openssl_libraries(platform):
@@ -94,5 +92,6 @@ ffi = build_ffi_for_binding(
],
pre_include=_OSX_PRE_INCLUDE,
post_include=_OSX_POST_INCLUDE,
- libraries=_get_openssl_libraries(sys.platform)
+ libraries=_get_openssl_libraries(sys.platform),
+ extra_link_args=extra_link_args(sys.platform),
)