Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

Commit be7d6e4

Browse files
committed
Set MACOSX_DEPLOYMENT_TARGET to 10.7, same as Node.js 10.x
1 parent b8ec6a0 commit be7d6e4

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ We aim to support _at least_ Active LTS and Current Node.js releases, Electron 5
7474
The `leveldown` npm package ships with prebuilt binaries for popular 64-bit platforms as well as ARM, M1, Android and Alpine (musl) and is known to work on:
7575

7676
- **Linux** (including ARM platforms such as Raspberry Pi and Kindle)
77-
- **Mac OS** (10.10 and later)
77+
- **Mac OS** (10.7 and later)
7878
- **Solaris** (SmartOS & Nodejitsu)
7979
- **FreeBSD**
8080
- **Windows**

binding.gyp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"GCC_SYMBOLS_PRIVATE_EXTERN": "YES",
2727

2828
# Set minimum target version because we're building on newer
29-
"MACOSX_DEPLOYMENT_TARGET": "10.10",
29+
# Same as https://github.com/nodejs/node/blob/v10.0.0/common.gypi#L416
30+
"MACOSX_DEPLOYMENT_TARGET": "10.7",
3031

3132
# Build universal binary to support M1 (Apple silicon)
3233
"OTHER_CFLAGS": [

deps/leveldb/leveldb.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
],
157157

158158
# Set minimum target version because we're building on newer
159-
"MACOSX_DEPLOYMENT_TARGET": "10.10",
159+
"MACOSX_DEPLOYMENT_TARGET": "10.7",
160160

161161
# Build universal binary to support M1 (Apple silicon)
162162
"OTHER_CFLAGS": [

deps/snappy/snappy.gyp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
],
7676

7777
# Set minimum target version because we're building on newer
78-
"MACOSX_DEPLOYMENT_TARGET": "10.10",
78+
"MACOSX_DEPLOYMENT_TARGET": "10.7",
7979

8080
# Build universal binary to support M1 (Apple silicon)
8181
"OTHER_CFLAGS": [

0 commit comments

Comments
 (0)