chore: Update macOS deployment target to 12.0 and bottle version to Monterey
This commit is contained in:
parent
5cf4592c3b
commit
491e6f89c7
10
Makefile
10
Makefile
|
@ -79,13 +79,13 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(detected_OS),Darwin)
|
ifeq ($(detected_OS),Darwin)
|
||||||
CFLAGS := -mmacosx-version-min=11.0
|
CFLAGS := -mmacosx-version-min=12.0
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
CGO_CFLAGS := -mmacosx-version-min=11.0
|
CGO_CFLAGS := -mmacosx-version-min=12.0
|
||||||
export CGO_CFLAGS
|
export CGO_CFLAGS
|
||||||
LIBSTATUS_EXT := dylib
|
LIBSTATUS_EXT := dylib
|
||||||
# keep in sync with BOTTLE_MACOS_VERSION
|
# keep in sync with BOTTLE_MACOS_VERSION
|
||||||
MACOSX_DEPLOYMENT_TARGET := 11.0
|
MACOSX_DEPLOYMENT_TARGET := 12.0
|
||||||
export MACOSX_DEPLOYMENT_TARGET
|
export MACOSX_DEPLOYMENT_TARGET
|
||||||
PKG_TARGET := pkg-macos
|
PKG_TARGET := pkg-macos
|
||||||
RUN_TARGET := run-macos
|
RUN_TARGET := run-macos
|
||||||
|
@ -129,9 +129,9 @@ BOTTLES_DIR := $(shell pwd)/bottles
|
||||||
BOTTLES := $(addprefix $(BOTTLES_DIR)/,openssl@1.1 pcre)
|
BOTTLES := $(addprefix $(BOTTLES_DIR)/,openssl@1.1 pcre)
|
||||||
ifeq ($(QT_ARCH),arm64)
|
ifeq ($(QT_ARCH),arm64)
|
||||||
# keep in sync with MACOSX_DEPLOYMENT_TARGET
|
# keep in sync with MACOSX_DEPLOYMENT_TARGET
|
||||||
BOTTLE_MACOS_VERSION := 'arm64_big_sur'
|
BOTTLE_MACOS_VERSION := 'arm64_monterey'
|
||||||
else
|
else
|
||||||
BOTTLE_MACOS_VERSION := 'big_sur'
|
BOTTLE_MACOS_VERSION := 'monterey'
|
||||||
endif
|
endif
|
||||||
$(BOTTLES): | $(BOTTLES_DIR)
|
$(BOTTLES): | $(BOTTLES_DIR)
|
||||||
echo -e "\033[92mFetching:\033[39m $(notdir $@) bottle arch $(QT_ARCH) $(BOTTLE_MACOS_VERSION)"
|
echo -e "\033[92mFetching:\033[39m $(notdir $@) bottle arch $(QT_ARCH) $(BOTTLE_MACOS_VERSION)"
|
||||||
|
|
Loading…
Reference in New Issue