Skip to content

Commit 2fa35c6

Browse files
committed
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 <[email protected]> Signed-off-by: Peter Bergin <[email protected]>
1 parent 12e5fa1 commit 2fa35c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meta-oe/recipes-extended/hiredis/hiredis_1.1.0.bb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ HOMEPAGE = "http://github.com/redis/hiredis"
33
SECTION = "libs"
44
LICENSE = "BSD-3-Clause"
55
LIC_FILES_CHKSUM = "file://COPYING;md5=d84d659a35c666d23233e54503aaea51"
6-
DEPENDS = "redis"
76

87
SRC_URI = "git://github.com/redis/hiredis;protocol=https;branch=master"
98
SRCREV = "c14775b4e48334e0262c9f168887578f4a368b5d"
@@ -16,3 +15,5 @@ PACKAGECONFIG ??= "ssl"
1615
PACKAGECONFIG[ssl] = "-DENABLE_SSL=ON, -DENABLE_SSL=OFF, openssl"
1716

1817
FILES:${PN}-dev += "${datadir}/hiredis_ssl ${prefix}/build"
18+
19+
RDEPENDS:${PN} = "redis"

0 commit comments

Comments
 (0)