klibc: fix install destination in 64bit env
PATCH 1/1 klibc: fix install destination in 64bit env
klibc installs everything into /usr/lib by default. But the recipe assumes it installs to ${libdir} which is /usr/lib64 in 64bit environment. Package generation fails badly in this case. Set INSTALLDIR to fix this.
Signed-off-by Michael Walle <[email protected]>
--- meta-initramfs/recipes-devtools/klibc/klibc.inc | 1 + 1 file changed, 1 insertion(+)
meta-initramfs/recipes-devtools/klibc/klibc.inc +1 -0
@@ -27,6 +27,7 @@ EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \ 'KLIBCLIBGCC=${STAGING_DIR_TARGET}${libdir}/${TARGET_SYS}/*/libgcc.a' \ 'prefix=${exec_prefix}' \ 'INSTALLROOT=${D}' \ + 'INSTALLDIR=${libdir}/klibc' \ 'SHLIBDIR=${libdir}' \ "
Signature · 1 line
2.1.4
Am 2016-07-15 11:58, schrieb Michael Walle:
Quoted 17 lines
klibc installs everything into
/usr/libby default. But the recipe assumes it installs to ${libdir} which is/usr/lib64in 64bit environment. Package generation fails badly in this case. Set INSTALLDIR to fix this.Signed-off-by Michael Walle <[email protected]>--- meta-initramfs/recipes-devtools/klibc/klibc.inc | 1 + 1 file changed, 1 insertion(+)meta-initramfs/recipes-devtools/klibc/klibc.inc +0
-0@@ -27,6 +27,7 @@ EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \'KLIBCLIBGCC=${STAGING_DIR_TARGET}${libdir}/${TARGET_SYS}/*/libgcc.a'
Quoted 6 lines
\
'prefix=${exec_prefix}' \
'INSTALLROOT=${D}' \
+ 'INSTALLDIR=${libdir}/klibc' \
'SHLIBDIR=${libdir}' \
"ping?
-michael