diff mbox series

[oe,meta-oe,13/14] pmdk: Fix libdir which is multi-lib aware

Message ID 20190721163919.32659-13-raj.khem@gmail.com
State Accepted
Commit b44a72a07e13862896e05169faeaebadf671779b
Headers show
Series [oe,meta-oe,01/14] recipes: Use BPN instead of PN in SRC_URIs | expand

Commit Message

Khem Raj July 21, 2019, 4:39 p.m. UTC
OE use 'lib' even on x86_64 when building with multilib support disabled
and used 'lib64' with multilib

This fixes packaging errors e.g.

pmdk-1.6: pmdk: Files/directories were installed but not shipped in any package:
  /usr/lib64/libpmem.so.1.0.0
  /usr/lib64/libpmemblk.so.1.0.0
  /usr/lib64/libpmemlog.so.1.0.0
  /usr/lib64/libpmemobj.so.1.0.0
  /usr/lib64/libvmem.so.1.0.0
....

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-extended/pmdk/pmdk_1.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.22.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb b/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb
index a5096fdad2..c20bdf6d1e 100644
--- a/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb
+++ b/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb
@@ -26,7 +26,7 @@  inherit autotools-brokensep pkgconfig
 # | If you meant to cross compile, use `--host'.
 #
 # Also fix #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
-EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}' LIB_PREFIX=lib64"
+EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}' EXTRA_CFLAGS='${SELECTED_OPTIMIZATION}' LIB_PREFIX=${baselib}"
 
 # Fix the missing fts libs when using musl
 EXTRA_OEMAKE_append_libc-musl = " EXTRA_LIBS='-lfts'"