···1-MacOS SDKs before 10.13 don't support open_memstream. This is already replaced
2-by a runtime check in cctools-port, but because we build with SDK 10.12 by
3-default, linking still fails for us. Disable it entirely here.
4-5--- a/cctools/include/stuff/diagnostics.h
6+++ b/cctools/include/stuff/diagnostics.h
7@@ -60,13 +60,6 @@ void diagnostics_log_msg(enum diagnostic_level level, const char* message);
···16-#ifndef HAVE_OPENMEMSTREAM_RUNTIME
17-# define HAVE_OPENMEMSTREAM_RUNTIME 1
18-#endif
19-+#define HAVE_OPENMEMSTREAM_RUNTIME 0
2021 #endif /* diagnostics_h */