We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dfcb34 commit c0f4e43Copy full SHA for c0f4e43
1 file changed
userspace/falco/CMakeLists.txt
@@ -94,7 +94,14 @@ if(NOT WIN32 AND NOT EMSCRIPTEN AND NOT MINIMAL_BUILD)
94
list(APPEND FALCO_DEPENDENCIES curl)
95
endif()
96
97
- list(APPEND FALCO_LIBRARIES httplib::httplib "${CURL_LIBRARIES}" "${CARES_LIB}")
+ if(USE_BUNDLED_OPENSSL)
98
+ list(APPEND FALCO_DEPENDENCIES openssl)
99
+ endif()
100
+
101
+ # libcurl (static) and cpp-httplib SSL pull in OpenSSL; falco_engine only links it on Linux.
102
+ list(APPEND FALCO_LIBRARIES httplib::httplib "${CURL_LIBRARIES}" "${OPENSSL_LIBRARIES}"
103
+ "${CARES_LIB}"
104
+ )
105
106
target_compile_definitions(falco_application PRIVATE CPPHTTPLIB_OPENSSL_SUPPORT)
107
0 commit comments