We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 661e4c8 commit b1b6983Copy full SHA for b1b6983
mqtt/CMakeLists.txt
@@ -19,7 +19,7 @@ endif()
19
add_library(driver SHARED driver.c)
20
21
if( DEFINED STATIC_BUILD )
22
- unset(CMAKE_C_FLAGS)
+ set(CMAKE_C_FLAGS "-ldl -lpthread")
23
add_subdirectory(../third_party/mosquitto ../third_party/mosquitto/build)
24
include_directories(../third_party/mosquitto/lib)
25
if( STATIC_BUILD )
0 commit comments