]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
apr: Use correct strerror_r implementation based on libc type
authorKhem Raj <raj.khem@gmail.com>
Wed, 24 Aug 2022 06:34:41 +0000 (23:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Aug 2022 10:07:33 +0000 (11:07 +0100)
commitded3d76a844dd1aef9ac610fbe506bf76285369b
treedbf607a3e68de5f0df724afa1c14d6ea39ebfaed
parent84375186570af548b49e44e884925f4feaddcc7a
apr: Use correct strerror_r implementation based on libc type

musl does not implement GNU extention of strerror_r but XSI compliant
version, therefore add it via a packageconfig to set right variables
during configure to cache the value.

configure detection logic depends on runtime test which will always be
wrong on cross compiles therefore backport a patch to make it possible
to cache the needed configure variable.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/apr/apr/0001-add-AC_CACHE_CHECK-for-strerror_r-return-type.patch [new file with mode: 0644]
meta/recipes-support/apr/apr_1.7.0.bb