From cc84bebcdcb0e4f3c3d461e54486bc11489c2a05 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 30 Jul 2021 19:20:13 -0700 Subject: [PATCH] macos-setup: add the deployment flags when configuring with Meson. We add them when configuring with autotools, so that we build GLib appropriately for the OS versions we're targeting; do the same when configuring with Meson. --- tools/macos-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/macos-setup.sh b/tools/macos-setup.sh index b9446e74c5..0aeef71c33 100755 --- a/tools/macos-setup.sh +++ b/tools/macos-setup.sh @@ -954,7 +954,7 @@ EOF # supports it, and I'm too lazy to add a dot-dot # version check. # - $MESON _build || exit 1 + CFLAGS="$CFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" CXXFLAGS="$CXXFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" LDFLAGS="$LDFLAGS $VERSION_MIN_FLAGS $SDKFLAGS" $MESON _build || exit 1 ninja $MAKE_BUILD_OPTS -C _build || exit 1 $DO_NINJA_INSTALL || exit 1 ;;