mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-17 19:25:57 +02:00
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.
This commit is contained in:
@@ -22,12 +22,17 @@ CLEANFILES = \
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = \
|
||||
libbsd.pc \
|
||||
libbsd-ctor.pc \
|
||||
libbsd-overlay.pc \
|
||||
$(nil)
|
||||
|
||||
lib_LTLIBRARIES = libbsd.la
|
||||
lib_LIBRARIES = libbsd-ctor.a
|
||||
lib_LIBRARIES =
|
||||
|
||||
if BUILD_LIBBSD_CTOR
|
||||
pkgconfig_DATA += libbsd-ctor.pc
|
||||
|
||||
lib_LIBRARIES += libbsd-ctor.a
|
||||
endif
|
||||
|
||||
hash/md5hl.c: $(srcdir)/hash/helper.c
|
||||
$(AM_V_at) $(MKDIR_P) hash
|
||||
|
Reference in New Issue
Block a user