Skip to content

Instantly share code, notes, and snippets.

@andyvand
Created July 23, 2025 18:05
Show Gist options
  • Select an option

  • Save andyvand/7dedc31c8a9a46113e05dd887bef6f92 to your computer and use it in GitHub Desktop.

Select an option

Save andyvand/7dedc31c8a9a46113e05dd887bef6f92 to your computer and use it in GitHub Desktop.
glib-old-macos.patch
--- meson.build 2025-07-22 05:51:36
+++ meson.build.patched 2025-07-22 05:52:16
@@ -994,13 +994,6 @@
if host_system == 'darwin'
add_languages('objc', native: false, required: true)
objcc = meson.get_compiler('objc')
- if not objcc.compiles('''#include <AvailabilityMacros.h>
- #if MAC_OS_X_VERSION_MIN_REQUIRED < 101300
- #error message "GLib requires macOS 10.13 or later."
- #endif''',
- name : 'macOS 10.13 or later')
- error('GLib requires macOS 10.13 or later.')
- endif
add_project_arguments(objcc.get_supported_arguments(warning_objc_args), language: 'objc')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment