Skip to content

Commit

Permalink
Fix build for python 2.7 and 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
holgern committed Feb 12, 2019
1 parent 6bc518a commit 3aefeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

extra_sources = ['scrypt-windows-stubs/gettimeofday.c']
if struct.calcsize('P') == 8:
if os.path.isdir('c:\OpenSSL-Win64'):
if os.path.isdir('c:\OpenSSL-Win64') and sys.version_info[0] > 3 and sys.version_info[1] > 4:
openssl_dir = 'c:\OpenSSL-v111-Win64'
else:
openssl_dir = 'c:\OpenSSL-Win64'
Expand Down

0 comments on commit 3aefeb2

Please sign in to comment.