Skip to contentSkip to conversation

paho-mqtt-cpp: Remove the dependency on paho-mqtt-c

PATCH New Peter Kjellerstedt 1 participant 1 message Sep 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 paho-mqtt-cpp: Remove the dependency on paho-mqtt-c

paho-mqtt-cpp is built with the vendored version of paho-mqtt-c since commit d4f8a3074307982a45eea9551060424835e1cfde.

This avoids the following error when building an application that depends on paho-mqtt-cpp:

ERROR: foobar-1.2.3-r0 do_prepare_recipe_sysroot: The file /usr/lib/libpaho-mqtt3as.so.1.3.13 is installed by both paho-mqtt-cpp and paho-mqtt-c, aborting

---
 .../recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb +1 -1
index d2fbc3a34c..f0ad76762b 100644
@@ -16,7 +16,7 @@ SRC_URI = "gitsm://github.com/eclipse/paho.mqtt.cpp;protocol=https;branch=v1.4.x
 SRCREV = "ac1b023eab789e829656144f12b248602c40e37b"
 PV .= "+git"
 
-DEPENDS = "openssl paho-mqtt-c"
+DEPENDS = "openssl"
 
 S = "${WORKDIR}/git"