Commit 715f0469 by Victor M. Alvarez

Try to determine why the "hash" module is not being included in Windows pre-built binaries.

parent 9b4db21a
......@@ -226,6 +226,13 @@ class BuildExtCommand(build_ext):
if self.dynamic_linking:
module.libraries.append('yara')
else:
print self.define
module.define_macros.append(('HASH_MODULE', '1'))
module.define_macros.append(('HAVE_LIBCRYPTO', '1'))
module.libraries.append('crypto')
if not self.define or not ('HASH_MODULE', '1') in self.define:
if (has_function('MD5_Init', libraries=['crypto']) and
has_function('SHA256_Init', libraries=['crypto'])):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment