Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/3] libcap: fix (base_)libdir usage
@ 2018-04-09 11:56 Koen Kooi
  2018-04-09 11:56 ` [PATCH 2/3] bind: fix openSSL detection when using multiarch Koen Kooi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Koen Kooi @ 2018-04-09 11:56 UTC (permalink / raw)
  To: openembedded-core; +Cc: Koen Kooi

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>
---
 meta/recipes-support/libcap/libcap_2.25.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libcap/libcap_2.25.bb b/meta/recipes-support/libcap/libcap_2.25.bb
index d619a2e..47ecf34 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 \
-- 
2.9.5



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-04-12  9:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-09 11:56 [PATCH 1/3] libcap: fix (base_)libdir usage Koen Kooi
2018-04-09 11:56 ` [PATCH 2/3] bind: fix openSSL detection when using multiarch Koen Kooi
2018-04-09 16:36   ` Richard Purdie
2018-04-11  9:25     ` Koen Kooi
2018-04-12  9:47       ` Koen Kooi
2018-04-09 11:56 ` [PATCH 3/3] python 2.7: fix multilib patch to accept multiarch style paths Koen Kooi
2018-04-09 12:33   ` Koen Kooi
2018-04-10 13:13 ` [PATCH 1/3] libcap: fix (base_)libdir usage Burton, Ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox