path: root/
diff options
authorGuillem Jover <>2014-07-20 01:48:20 +0200
committerGuillem Jover <>2014-07-20 02:09:20 +0200
commite8d3d04177c8718f1e7f583cbcca15f8e0b9602e (patch)
tree63bf56d74c3f5066a454306f83cd97b98646f3eb /
parentfaa005cb3209239bdbdf001e387cbcf9f088b12c (diff)
build: Remove hard requirement for GNU .init_array section support
In case the support is not available, just stop building the libbsd-ctor.a library, which is a nice to have thing, but should not have been a hard requirement from the start. This should allow to build libbsd on non-glibc based systems using another libc.
Diffstat (limited to '')
1 files changed, 2 insertions, 3 deletions
diff --git a/ b/
index 1c1b962..c1da7d4 100644
--- a/
+++ b/
@@ -101,9 +101,8 @@ int main() { return rc; }
-if test "$libbsd_cv_gnu_init_array_support" = no; then
- AC_MSG_ERROR([missing required GNU .init_array section support])
+ [test "$libbsd_cv_gnu_init_array_support" = yes])
# Checks for library functions.
AC_MSG_CHECKING([for program_invocation_short_name])