diff --git a/components/mosquitto/CMakeLists.txt b/components/mosquitto/CMakeLists.txt index 3608021e2..ccef7144f 100644 --- a/components/mosquitto/CMakeLists.txt +++ b/components/mosquitto/CMakeLists.txt @@ -82,7 +82,7 @@ idf_component_register(SRCS ${m_srcs} ${m_incl_dir} ${m_lib_dir} ${m_deps_dir} INCLUDE_DIRS ${m_incl_dir} port/include REQUIRES esp-tls - PRIV_REQUIRES newlib sock_utils esp_timer) + PRIV_REQUIRES sock_utils esp_timer) target_compile_definitions(${COMPONENT_LIB} PRIVATE "WITH_BROKER") if (CONFIG_MOSQ_ENABLE_SYS) diff --git a/components/mosquitto/examples/broker/main/CMakeLists.txt b/components/mosquitto/examples/broker/main/CMakeLists.txt index 1f3299ddc..dcabd45c5 100644 --- a/components/mosquitto/examples/broker/main/CMakeLists.txt +++ b/components/mosquitto/examples/broker/main/CMakeLists.txt @@ -1,3 +1,3 @@ idf_component_register(SRCS "example_broker.c" - PRIV_REQUIRES newlib nvs_flash esp_netif esp_event mqtt + PRIV_REQUIRES nvs_flash esp_netif esp_event mqtt EMBED_TXTFILES servercert.pem serverkey.pem cacert.pem)