aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorh.udo <hudokkow@gmail.com>2016-12-13 12:53:05 +0000
committerh.udo <hudokkow@gmail.com>2016-12-13 12:53:22 +0000
commitc4c49bfe6839bd02adea8fe4ca4934cf311f01ac (patch)
tree016867cf7074c74789b9f6b468e37a5fbf2ce4bd
parentba6db75e6bc4641dd4595c45e909282f5ac8e309 (diff)
[cmake] Fix XPREFIX_LIBRARIES populating in modules
-rw-r--r--project/cmake/modules/FindMicroHttpd.cmake2
-rw-r--r--project/cmake/modules/FindPython.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/project/cmake/modules/FindMicroHttpd.cmake b/project/cmake/modules/FindMicroHttpd.cmake
index 7d011fa438..66178810e9 100644
--- a/project/cmake/modules/FindMicroHttpd.cmake
+++ b/project/cmake/modules/FindMicroHttpd.cmake
@@ -41,7 +41,7 @@ if(MICROHTTPD_FOUND)
list(APPEND MICROHTTPD_LIBRARIES ${GCRYPT_LIBRARY} ${GPGERROR_LIBRARY})
mark_as_advanced(GCRYPT_LIBRARY GPGERROR_LIBRARY)
if(NOT APPLE AND NOT CORE_SYSTEM_NAME STREQUAL android)
- list(APPEND MICROHTTPD_LIBRARIES "-lrt")
+ list(APPEND MICROHTTPD_LIBRARIES rt)
endif()
endif()
endif()
diff --git a/project/cmake/modules/FindPython.cmake b/project/cmake/modules/FindPython.cmake
index c341f00424..b3fae060ee 100644
--- a/project/cmake/modules/FindPython.cmake
+++ b/project/cmake/modules/FindPython.cmake
@@ -20,7 +20,7 @@ if(KODI_DEPENDSBUILD)
find_library(GMP_LIBRARY gmp REQUIRED)
if(NOT CORE_SYSTEM_NAME STREQUAL android)
- set(PYTHON_DEP_LIBRARIES -lpthread -ldl -lutil)
+ set(PYTHON_DEP_LIBRARIES pthread dl util)
endif()
set(PYTHON_LIBRARIES ${PYTHON_LIBRARY} ${FFI_LIBRARY} ${EXPAT_LIBRARY} ${INTL_LIBRARY} ${GMP_LIBRARY} ${PYTHON_DEP_LIBRARIES})