3d0a1de
diff --git a/CMakeLists.txt b/CMakeLists.txt
3d0a1de
index 42082192..f16726f8 100644
3d0a1de
--- a/CMakeLists.txt
3d0a1de
+++ b/CMakeLists.txt
6582fdf
@@ -736,7 +736,7 @@
3d0a1de
   message(STATUS "Not found telldus-core (telldus-core.h), not adding tellstick support")
3d0a1de
 endif (TELLDUSCORE_INCLUDE)
3d0a1de
 
6582fdf
-target_link_libraries(domoticz ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${MINIZIP_LIBRARIES} ${CURL_LIBRARIES} pthread ${MQTT_LIBRARIES} ${LUA_LIBRARIES} ${SQLite_LIBRARIES} ${CMAKE_DL_LIBS} ${TELLDUS_LIBRARIES})
6582fdf
+target_link_libraries(domoticz ${Boost_LIBRARIES} ${ZLIB_LIBRARIES} ${MINIZIP_LIBRARIES} ${CURL_LIBRARIES} pthread -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm ${MQTT_LIBRARIES} ${LUA_LIBRARIES} ${SQLite_LIBRARIES} ${CMAKE_DL_LIBS} ${TELLDUS_LIBRARIES})
3d0a1de
 
3d0a1de
 IF(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
3d0a1de
   target_link_libraries(domoticz -lresolv)