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>
This commit is contained in:
Koen Kooi
2018-04-16 15:00:19 +02:00
committed by Richard Purdie
parent ab8b5cbfd6
commit 2c9c4a406a

View File

@@ -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 \