[oe-commits] [meta-openembedded] 14/16: pmdk: Fix libdir which is multi-lib aware

git at git.openembedded.org git at git.openembedded.org
Sun Jul 21 16:40:50 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit b44a72a07e13862896e05169faeaebadf671779b
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Sun Jul 21 00:36:17 2019 -0700

    pmdk: Fix libdir which is multi-lib aware
    
    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 at gmail.com>
---
 meta-oe/recipes-extended/pmdk/pmdk_1.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb b/meta-oe/recipes-extended/pmdk/pmdk_1.6.bb
index a5096fd..c20bdf6 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'"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list