summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap
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 09:54:57 +0100
commit6427bcae42fb9ec05ccfd5b63db6bc3ee2afcd4f (patch)
treeaba08223e72b84c33fa5de7bcd982576b4691130 /meta/recipes-support/libcap
parent464dad0dc93aeeedd34d90c2f06596060ec135fd (diff)
downloadopenembedded-core-6427bcae42fb9ec05ccfd5b63db6bc3ee2afcd4f.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. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-support/libcap')
-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"
EXTRA_OEMAKE = " \
INDENT= \
- lib=${@os.path.basename('${libdir}')} \
+ lib='${base_libdir}' \
RAISE_SETFCAP=no \
DYNAMIC=yes \
BUILD_GPERF=yes \