diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2022-12-15 04:53:17 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 04:53:17 +1000 |
commit | 26381e88c55a7f2d180eb156a2e85dc5997b88fd (patch) | |
tree | 4ccd466bd34e257a3059c654bfaeff38a165661e /tools | |
parent | c48dbdd79edc8bef57b13886b9161529356abb55 (diff) | |
parent | 35dbd2e797d8394d0d3c2c1696ab8b239b9256a2 (diff) |
Merge pull request #22261 from fuzzard/Nexus_fix_libmicrohttpd_timespecget
[BP][tools/depends][target] libmicrohttpd - disable timespec_get apple platforms
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) |