Commit 7e5b9ca6 by plusvic

Build with static version of libeay32

parent 629caf2d
...@@ -125,8 +125,9 @@ clone_script: ...@@ -125,8 +125,9 @@ clone_script:
build_script: build_script:
# Build the compiled extension # Build the compiled extension
- "%CMD_IN_ENV% python setup.py build_ext --enable-cuckoo - "%CMD_IN_ENV% python setup.py build_ext --enable-cuckoo
-L../jansson-%JANSSON_VERSION%/build/lib/Release;c:/OpenSSL-Win%PYTHON_ARCH%/lib -L../jansson-%JANSSON_VERSION%/build/lib/Release;c:/OpenSSL-Win%PYTHON_ARCH%/lib/VC/static
-I../jansson-%JANSSON_VERSION%/build/include;c:/OpenSSL-Win%PYTHON_ARCH%/include" -I../jansson-%JANSSON_VERSION%/build/include;c:/OpenSSL-Win%PYTHON_ARCH%/include
-llibeay32MD.lib"
after_build: after_build:
- "%PYTHON%\\python setup.py install" - "%PYTHON%\\python setup.py install"
......
...@@ -182,7 +182,7 @@ class BuildExtCommand(build_ext): ...@@ -182,7 +182,7 @@ class BuildExtCommand(build_ext):
if building_for_windows: if building_for_windows:
module.define_macros.append(('HASH_MODULE', '1')) module.define_macros.append(('HASH_MODULE', '1'))
module.libraries.append('libeay32') #module.libraries.append('libeay32')
elif (has_function('MD5_Init', libraries=['crypto']) and elif (has_function('MD5_Init', libraries=['crypto']) and
has_function('SHA256_Init', libraries=['crypto'])): has_function('SHA256_Init', libraries=['crypto'])):
module.define_macros.append(('HASH_MODULE', '1')) module.define_macros.append(('HASH_MODULE', '1'))
......
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