diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-12-14 13:59:38 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-12-14 17:33:51 +1000 |
commit | 35dbd2e797d8394d0d3c2c1696ab8b239b9256a2 (patch) | |
tree | 4ccd466bd34e257a3059c654bfaeff38a165661e /tools | |
parent | c48dbdd79edc8bef57b13886b9161529356abb55 (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')
-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) |