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]>
  • Loading branch information
wrpbergin committed May 22, 2023
1 parent 12e5fa1 commit 2fa35c6
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 2fa35c6

Please sign in to comment.