Use OpenSSL headers instead of LibreSSL

This commit is contained in:
Ariel Abreu 2020-07-24 23:11:09 -04:00
parent f1fa922e50
commit 7654060c81
No known key found for this signature in database
GPG Key ID: ECF8C2B9E8AD3E6B
2 changed files with 4 additions and 0 deletions

View File

@ -255,6 +255,7 @@ pymodule(_fileio Modules/_fileio.c)
pymodule(_functools Modules/_functoolsmodule.c)
pymodule(_hashlib Modules/_hashopenssl.c)
target_link_libraries(py26__hashlib ssl098)
target_include_directories(py26__hashlib BEFORE PRIVATE ${CMAKE_SOURCE_DIR}/src/external/openssl/src/include)
pymodule(_heapq Modules/_heapqmodule.c)
pymodule(_hotshot Modules/_hotshot.c)
pymodule(_json Modules/_json.c)
@ -266,6 +267,7 @@ pymodule(_random Modules/_randommodule.c)
pymodule(_socket Modules/socketmodule.c)
pymodule(_ssl Modules/_ssl.c)
target_link_libraries(py26__ssl ssl098)
target_include_directories(py26__ssl BEFORE PRIVATE ${CMAKE_SOURCE_DIR}/src/external/openssl/src/include)
pymodule(_struct Modules/_struct.c)
pymodule(_testcapi Modules/_testcapimodule.c)
pymodule(_weakref Modules/_weakref.c)

View File

@ -262,6 +262,7 @@ set_target_properties(py27__elementtree PROPERTIES COMPILE_FLAGS "-DUSE_PYEXPAT_
pymodule(_functools Modules/_functoolsmodule.c)
pymodule(_hashlib Modules/_hashopenssl.c)
target_link_libraries(py27__hashlib ssl098)
target_include_directories(py27__hashlib BEFORE PRIVATE ${CMAKE_SOURCE_DIR}/src/external/openssl/src/include)
pymodule(_heapq Modules/_heapqmodule.c)
pymodule(_hotshot Modules/_hotshot.c)
pymodule(_json Modules/_json.c)
@ -273,6 +274,7 @@ pymodule(_random Modules/_randommodule.c)
pymodule(_socket Modules/socketmodule.c Modules/timemodule.c)
pymodule(_ssl Modules/_ssl.c)
target_link_libraries(py27__ssl ssl098)
target_include_directories(py27__ssl BEFORE PRIVATE ${CMAKE_SOURCE_DIR}/src/external/openssl/src/include)
pymodule(_struct Modules/_struct.c)
pymodule(_testcapi Modules/_testcapimodule.c)
pymodule(_sqlite ${sqlite_sources})