summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2018-04-16 15:00:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-04 13:28:04 +0100
commit2c9c4a406a0fbb41b30a538806d2b48ce7b9d435 (patch)
tree1f6c4e32569defc5f38c995c2f3fbff8c51adbdd /meta/recipes-support
parentab8b5cbfd6bcfd77322623683fe4f3a925445913 (diff)
downloadpoky-2c9c4a406a0fbb41b30a538806d2b48ce7b9d435.tar.gz
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. (From OE-Core rev: 6427bcae42fb9ec05ccfd5b63db6bc3ee2afcd4f) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libcap/libcap_2.25.bb2
1 files changed, 1 insertions, 1 deletions
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"
32 32
33EXTRA_OEMAKE = " \ 33EXTRA_OEMAKE = " \
34 INDENT= \ 34 INDENT= \
35 lib=${@os.path.basename('${libdir}')} \ 35 lib='${base_libdir}' \
36 RAISE_SETFCAP=no \ 36 RAISE_SETFCAP=no \
37 DYNAMIC=yes \ 37 DYNAMIC=yes \
38 BUILD_GPERF=yes \ 38 BUILD_GPERF=yes \