From 6427bcae42fb9ec05ccfd5b63db6bc3ee2afcd4f Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 16 Apr 2018 15:00:19 +0200 Subject: libcap: fix (base_)libdir usage The recipe wants to install libs into base_libdir, but uses "basename $libdir" to derive that. That breaks in a multiarch setup. Use the proper variable and remove the inline python usage. Signed-off-by: Koen Kooi Signed-off-by: Ross Burton --- meta/recipes-support/libcap/libcap_2.25.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-support/libcap') diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb index d619a2eb4c..47ecf34549 100644 --- a/meta/recipes-support/libcap/libcap_2.25.bb +++ b/meta/recipes-support/libcap/libcap_2.25.bb @@ -32,7 +32,7 @@ PACKAGECONFIG[pam] = "PAM_CAP=yes,PAM_CAP=no,libpam" EXTRA_OEMAKE = " \ INDENT= \ - lib=${@os.path.basename('${libdir}')} \ + lib='${base_libdir}' \ RAISE_SETFCAP=no \ DYNAMIC=yes \ BUILD_GPERF=yes \ -- cgit 1.2.3-korg