diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-12-14 13:59:38 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-12-14 13:59:38 +1000 |
commit | 035d0a04ac0e76b32130bed725f528c3a755c29f (patch) | |
tree | fe4f9f9599ea69d8274e15ba4ba71a6cecc72bdc /tools/depends | |
parent | f5bc09a4d2f1eca19eeaa690c14cfd084cdfda75 (diff) |
[tools/depends][target] libmicrohttpd - disable timespec_get usage for apple platforms
disable timespec_get for apple platforms. Was introduced in
__API_AVAILABLE(macosx(10.15), ios(13.0), tvos(13.0), watchos(6.0))
however older platforms (reported 10.13.6) fail to run.
Diffstat (limited to 'tools/depends')
-rw-r--r-- | tools/depends/target/libmicrohttpd/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/depends/target/libmicrohttpd/Makefile b/tools/depends/target/libmicrohttpd/Makefile index 6bae6ce677..26d6c64b46 100644 --- a/tools/depends/target/libmicrohttpd/Makefile +++ b/tools/depends/target/libmicrohttpd/Makefile @@ -15,6 +15,13 @@ ifeq ($(DEBUG_BUILD), yes) CONFIGURE+= --enable-asserts endif +ifeq ($(findstring apple-darwin, $(HOST)), apple-darwin) + # blanket disable timespec_get use for apple platforms. timespec_get was introduced in + # __API_AVAILABLE(macosx(10.15), ios(13.0), tvos(13.0), watchos(6.0)) but older platforms + # are failing to run. + CONFIGURE+= mhd_cv_func_timespec_get=no +endif + LIBDYLIB=$(PLATFORM)/src/microhttpd/.libs/$(LIBNAME).a all: .installed-$(PLATFORM) |