]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Declare HAVE_ERROR_H only if error symbol is available
authorAlfred Wingate <parona@protonmail.com>
Wed, 29 Jan 2025 07:32:49 +0000 (09:32 +0200)
committerMark Wielaard <mark@klomp.org>
Wed, 29 Jan 2025 12:32:06 +0000 (13:32 +0100)
commit1d1739f1664964252d6b5cde233805f6a14459bf
treea530d2e0d907a21bff69876757599501aded9f69
parentdda7144c3696fae8f71c29ca720da4fe0438b6f9
Declare HAVE_ERROR_H only if error symbol is available

Musl doesn't provide error.h. But there exists a standalone implementation
that installs /usr/include/error.h but requires explicit linkage. This
leads linkage errors later on due to the assumption that error
symbols are provided by the libc.

Bug: https://bugs.gentoo.org/948878
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32548
Signed-off-by: Alfred Wingate <parona@protonmail.com>
configure.ac