[6/6,meta-oe] mini-iconv: Don't use ${PN}

Submitted by Richard Weinberger on Jan. 10, 2019, 9:42 a.m. | Patch ID: 157694

Details

Message ID 20190110094212.16763-6-richard@nod.at
State Accepted
Commit 9968314f32c07080081873094c387b6c97a89b3c
Headers show

Commit Message

Richard Weinberger Jan. 10, 2019, 9:42 a.m.
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
---
 meta-oe/recipes-support/mini-iconv/mini-iconv.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta-oe/recipes-support/mini-iconv/mini-iconv.bb b/meta-oe/recipes-support/mini-iconv/mini-iconv.bb
index 0f1548aa284f..44f55b58df94 100644
--- a/meta-oe/recipes-support/mini-iconv/mini-iconv.bb
+++ b/meta-oe/recipes-support/mini-iconv/mini-iconv.bb
@@ -13,7 +13,7 @@  SRC_URI[md5sum] = "84412221e26505a2b3855d4a1cdcd0e0"
 SRC_URI[sha256sum] = "3552262bf1bcf8e859a2a3a7adfb0367af8593383e730c492e981477aac0a0d4"
 
 
-S = "${WORKDIR}/${PN}"
+S = "${WORKDIR}/${BPN}"
 
 do_install() {
     oe_runmake install DESTDIR=${D} PREFIX=${prefix} LIB=${base_libdir}