]> code.ossystems Code Review - openembedded-core.git/commit
rpm: Fix error.h handing properly on musl
authorKhem Raj <raj.khem@gmail.com>
Sun, 1 Nov 2020 05:21:40 +0000 (22:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Nov 2020 11:35:06 +0000 (11:35 +0000)
commit0b45dc1d611a7c96b528a5c62a2f18a00651d121
tree1c0f6cf5e6974006b590097a9985172638986ccc
parentd355cd38904460f3add2b0b9477e8ddfd42b22e1
rpm: Fix error.h handing properly on musl

Ignoring configure fragments when error.h does not exist on system
leaves eflutils half configured, which is seen when gold linker is
enabled because librpm does not have proper dependencies added,
therefore add error.h for non-glibc case and include it when glibc is
not used.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/files/0001-Fix-build-with-musl-C-library.patch
meta/recipes-devtools/rpm/files/0001-tools-Add-error.h-for-non-glibc-case.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_4.16.0.bb