Skip to contentSkip to conversation

pbzip2: Fix native dependency on bzip2-native

PATCH New Richard Purdie 1 participant 1 message Jun 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pbzip2: Fix native dependency on bzip2-native

bzip2-native is in ASSUME_PROVIDED but we don't just want "bzip2" but libbz2 here. To do this, we need to DEPEND on bzip2-replacement-native which hints to bitbake we really do want to build it.

Add the missing dependency to avoid failures on machines which don't have libbz2-dev installed.

meta/recipes-extended/pbzip2/pbzip2_1.1.12.bb +1 -0
index fb70d0c..0330981 100644
@@ -9,6 +9,7 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4c4f2edec9679d5abef3514a816b54a4"
 
 DEPENDS = "bzip2"
+DEPENDS_append_class-native = " bzip2-replacement-native"
 
 SRC_URI = "https://launchpad.net/${BPN}/1.1/${PV}/+download/${BP}.tar.gz"