Skip to content

Commit

Permalink
hiredis: change dependency to redis
Browse files Browse the repository at this point in the history
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]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
wrpbergin authored and kraj committed May 23, 2023
1 parent 61c7db7 commit e1c579b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meta-oe/recipes-extended/hiredis/hiredis_1.1.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"

0 comments on commit e1c579b

Please sign in to comment.