From 2fa35c66f1b7795583c3b1fee54a3bca6fb06b27 Mon Sep 17 00:00:00 2001 From: Peter Bergin Date: Wed, 17 May 2023 18:25:59 +0200 Subject: [PATCH] hiredis: change dependency to redis hiredis package builds fine without the dependency to redis. Using hiredis on target without redis is quite useless and instead adding redis as a run-time dependency. Signed-off-by: Peter Bergin Signed-off-by: Peter Bergin --- meta-oe/recipes-extended/hiredis/hiredis_1.1.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/hiredis/hiredis_1.1.0.bb b/meta-oe/recipes-extended/hiredis/hiredis_1.1.0.bb index 1eb6c20a6da..ceae9a457a5 100644 --- a/meta-oe/recipes-extended/hiredis/hiredis_1.1.0.bb +++ b/meta-oe/recipes-extended/hiredis/hiredis_1.1.0.bb @@ -3,7 +3,6 @@ HOMEPAGE = "http://github.com/redis/hiredis" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51" -DEPENDS = "redis" SRC_URI = "git://github.com/redis/hiredis;protocol=https;branch=master" SRCREV = "c14775b4e48334e0262c9f168887578f4a368b5d" @@ -16,3 +15,5 @@ PACKAGECONFIG ??= "ssl" PACKAGECONFIG[ssl] = "-DENABLE_SSL=ON, -DENABLE_SSL=OFF, openssl" FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build" + +RDEPENDS:${PN} = "redis"