From 109f8d2dcbf2aa390c91fe1d3359425aa611dfe3 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt <stefan.schmidt@huawei.com>
Date: Fri, 27 Aug 2021 14:29:07 +0200
Subject: [PATCH] mosquitto_2.0.10.bb: remove dlt-daemon default dependency

dlt-daemon should only be a dependency if the PACKAGECONFIG is selected.
This is actually handled by PACKAGECONFIG[dlt] directly and thus the
default DEPEND on it is superfluous.

Removing it fixes the situation where dlt is disabled for mosquitto.

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
---
 .../recipes-connectivity/mosquitto/mosquitto_2.0.10.bb          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ohos-staging/recipes-connectivity/mosquitto/mosquitto_2.0.10.bb b/meta-ohos-staging/recipes-connectivity/mosquitto/mosquitto_2.0.10.bb
index b815ac3b..a1d5bd1c 100644
--- a/meta-ohos-staging/recipes-connectivity/mosquitto/mosquitto_2.0.10.bb
+++ b/meta-ohos-staging/recipes-connectivity/mosquitto/mosquitto_2.0.10.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca9a8f366c6babf593e374d0d7d58749 \
                     file://epl-v20;md5=d9fc0efef5228704e7f5b37f27192723 \
                     file://notice.html;md5=541f8f37af492858dab8d2c1b69ede69 \
 "
-DEPENDS = "uthash cjson dlt-daemon"
+DEPENDS = "uthash cjson"
 
 SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
            file://mosquitto.init \
-- 
GitLab