Add missing -ldl
@@ -45,6 +45,7 @@ set_target_properties(framework PROPERTIES "SOVERSION" ${CELIX_MAJOR})
target_link_libraries(framework PUBLIC Celix::utils Celix::dfi ${CELIX_OPTIONAL_EXTRA_LIBS})
target_link_libraries(framework PUBLIC UUID::lib CURL::libcurl ZLIB::ZLIB)
+target_link_libraries(framework PRIVATE ${CMAKE_DL_LIBS})
install(TARGETS framework EXPORT celix DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT framework
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/celix)
