Skip to content

Commit 0a13333

Browse files
committed
chore: Bump min macos version to 14
Fixing `[2025-10-15T19:08:34.244Z] ld: warning: object file (bottles/openssl@3/lib/libcrypto.a[294](libcrypto-lib-ec_check.o)) was built for newer 'macOS' version (14.0) than being linked (13.0)` after homebrew update
1 parent cea28f6 commit 0a13333

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ ifeq ($(mkspecs),)
9494
endif
9595

9696
ifeq ($(mkspecs),macx)
97-
CFLAGS := -mmacosx-version-min=13.0
97+
CFLAGS := -mmacosx-version-min=14.0
9898
export CFLAGS
99-
CGO_CFLAGS := -mmacosx-version-min=13.0
99+
CGO_CFLAGS := -mmacosx-version-min=14.0
100100
export CGO_CFLAGS
101101
LIB_EXT := dylib
102102
# keep in sync with BOTTLE_MACOS_VERSION
103-
MACOSX_DEPLOYMENT_TARGET := 13.0
103+
MACOSX_DEPLOYMENT_TARGET := 14.0
104104
export MACOSX_DEPLOYMENT_TARGET
105105
PKG_TARGET := pkg-macos
106106
RUN_TARGET := run-macos

config.nims

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ if hostOS == "macosx":
2626
switch("passL", "bottles/openssl@3/lib/libssl.a")
2727
# https://code.videolan.org/videolan/VLCKit/-/issues/232
2828
switch("passL", "-Wl,-no_compact_unwind")
29-
# set the minimum supported macOS version to 13.0
30-
switch("passC", "-mmacosx-version-min=13.0")
29+
# set the minimum supported macOS version to 14.0
30+
switch("passC", "-mmacosx-version-min=14.0")
3131
elif hostOS == "windows":
3232
echo "Building for Windows"
3333
--app:gui

0 commit comments

Comments
 (0)