Skip to content
Snippets Groups Projects
Commit 213beafd authored by Dmitry Gerasimov's avatar Dmitry Gerasimov
Browse files

[*] Part of MacOS python support

parent 23eb930a
No related branches found
No related tags found
2 merge requests!974bugfix-8996,!873Hotfix 8568
......@@ -36,6 +36,13 @@ set(BUILD_WITH_GDB_DRIVER_MDBX ON)
#set(BUILD_CRYPTO_TESTS ON)
set(BUILD_WITH_ZIP OFF)
option(SUPPORT_PYTHON_PLUGINS DEFAULT OFF)
#if(MACOS)
# if(SUPPORT_PYTHON_PLUGINS)
# set(BUILD_WITH_PYTHON_ENV ON)
# endif()
#endif()
if(LINUX)
set(BUILD_WITH_PYTHON_ENV ON)
......@@ -240,7 +247,13 @@ if(UNIX AND NOT WIN32)
find_package(PythonLibs REQUIRED)
add_definitions("-DDAP_BUILD_WITH_PYTHON_ENV")
set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} -lssl -lcrypto -lcrypt -lnsl -lz -lutil -lexpat )
if(MACOS OR IOS)
set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} -lssl -lcrypto -lz -lutil -lexpat )
else()
if(LINUX OR BSD)
set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} -lssl -lcrypto -lcrypt -lnsl -lz -lutil -lexpat )
endif()
endif()
else()
set(Python_ADDITIONAL_VERSION 3.9 3.8 3.7 3.6 3.5 3.4)
......
Subproject commit 137af6ea30657e91bfabbf27e58e27deb03e03fa
Subproject commit f0f7c9ecb16f5faebc803a6b9a486055f286178b
Subproject commit 6aac418f3e9914558f9f472d635d5d8eed20ab5f
Subproject commit b8c1fdc024bb1169109c0bf73baf130c6a60f7af
Subproject commit 469aafe088df7dfca93631e8e82877aaeb9d969a
Subproject commit 81ff2ae5025b261c5d9eec51567bdd32235a7f09
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment