mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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@gmail.com>
This commit is contained in:
@@ -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'"
|
||||
|
||||
Reference in New Issue
Block a user