diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-01-01 12:02:00 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-01-01 12:02:00 -0600 |
commit | 33980bbb55919054bd1e0d641b8f28135a22472c (patch) | |
tree | 42a1dcb9f7ea488ce0d6837aa159d911e32bcfd8 /src | |
parent | a14a861b441776e77b6a5e3d505fa51ce632f9ed (diff) | |
download | cryptography-33980bbb55919054bd1e0d641b8f28135a22472c.tar.gz cryptography-33980bbb55919054bd1e0d641b8f28135a22472c.tar.bz2 cryptography-33980bbb55919054bd1e0d641b8f28135a22472c.zip |
convert other extra_link_args calls
Diffstat (limited to 'src')
-rw-r--r-- | src/_cffi_src/build_constant_time.py | 5 | ||||
-rw-r--r-- | src/_cffi_src/build_padding.py | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/src/_cffi_src/build_constant_time.py b/src/_cffi_src/build_constant_time.py index 6d9a8f54..7a11f7b5 100644 --- a/src/_cffi_src/build_constant_time.py +++ b/src/_cffi_src/build_constant_time.py @@ -5,9 +5,8 @@ from __future__ import absolute_import, division, print_function import os -import sys -from _cffi_src.utils import build_ffi, extra_link_args +from _cffi_src.utils import build_ffi, compiler_type, extra_link_args with open(os.path.join( @@ -24,5 +23,5 @@ ffi = build_ffi( module_name="_constant_time", cdef_source=types, verify_source=functions, - extra_link_args=extra_link_args(sys.platform), + extra_link_args=extra_link_args(compiler_type()), ) diff --git a/src/_cffi_src/build_padding.py b/src/_cffi_src/build_padding.py index 5df93d80..4c5096a1 100644 --- a/src/_cffi_src/build_padding.py +++ b/src/_cffi_src/build_padding.py @@ -5,9 +5,8 @@ from __future__ import absolute_import, division, print_function import os -import sys -from _cffi_src.utils import build_ffi, extra_link_args +from _cffi_src.utils import build_ffi, compiler_type, extra_link_args with open(os.path.join( @@ -24,5 +23,5 @@ ffi = build_ffi( module_name="_padding", cdef_source=types, verify_source=functions, - extra_link_args=extra_link_args(sys.platform), + extra_link_args=extra_link_args(compiler_type()), ) |