diff options
author | fuzzard <fuzzard@kodi.tv> | 2021-08-12 18:51:28 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2021-08-13 19:50:34 +1000 |
commit | e8040d6a50a34fbdcf8ed63a457de2ab79f613ff (patch) | |
tree | 3724ee8f3fe6e49aec41d58475f8571870591974 /cmake/modules | |
parent | 4e2336b3d81de6f0af137f775f099efce91549b8 (diff) |
[tools/depends/target][python3] enable multiprocessing module
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/FindPython.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/modules/FindPython.cmake b/cmake/modules/FindPython.cmake index 7bbda139ed..c40e12d551 100644 --- a/cmake/modules/FindPython.cmake +++ b/cmake/modules/FindPython.cmake @@ -21,6 +21,10 @@ if(KODI_DEPENDSBUILD) if(NOT CORE_SYSTEM_NAME STREQUAL android) set(PYTHON_DEP_LIBRARIES pthread dl util) + if(CORE_SYSTEM_NAME STREQUAL linux) + # python archive built via depends requires librt for _posixshmem library + list(APPEND PYTHON_DEP_LIBRARIES rt) + endif() endif() set(PYTHON_LIBRARIES ${PYTHON_LIBRARY} ${FFI_LIBRARY} ${EXPAT_LIBRARY} ${INTL_LIBRARY} ${GMP_LIBRARY} ${PYTHON_DEP_LIBRARIES}) |