@@ -873,7 +873,8 @@ common: [
873
873
defines: ENDIAN_LITTLE
874
874
defines: USE_OLD_PIPE
875
875
cflags: -Wno-pointer-sign
876
- flag: -mmacosx-version-min=10.9
876
+ flag: -mmacosx-version-min=10.9
877
+ entitlements: %make/Entitlements.plist
877
878
]
878
879
#if (any [Linux? OpenBSD? FreeBSD?]) [
879
880
library: %m
@@ -998,7 +999,7 @@ make-dll: [
998
999
flags: [-O2 shared]
999
1000
upx: off
1000
1001
#if Posix? [ flag: fPIC upx: off ]
1001
- #if macOS? [ flag: fno-common strip: off]
1002
+ #if macOS? [ flag: fno-common strip: off lflag: "compatibility_version 3.0" ]
1002
1003
do %make/pre-make.r3 "$NEST_SPEC"
1003
1004
]
1004
1005
; for testing host app using shared library
@@ -1014,6 +1015,9 @@ make-x64-dll: [:arch-x64 :make-dll ]
1014
1015
make-x86-host: [:arch-x86 :make-host ]
1015
1016
make-x64-host: [:arch-x64 :make-host ]
1016
1017
1018
+ make-arm64-dll: [:arch-arm64 :make-dll ]
1019
+ make-arm64-host: [:arch-arm64 :make-host ]
1020
+
1017
1021
make-ext-test: [
1018
1022
files: only %tests/extension/test.c
1019
1023
flags: [-O2 shared]
@@ -1201,6 +1205,7 @@ eggs: [
1201
1205
1202
1206
"Rebol/Core macos-x64 shared library" [
1203
1207
name: %lib-rebol3-core-macos-x64
1208
+ flag: "-Wl,-install_name,'/usr/local/lib/librebol-core.3.dylib'"
1204
1209
:target-macos
1205
1210
:include-rebol-core
1206
1211
:make-x64-dll
@@ -1212,6 +1217,50 @@ eggs: [
1212
1217
:include-rebol-core
1213
1218
:make-x64-host
1214
1219
]
1220
+ "Rebol/Bulk macos-x64 shared library" [
1221
+ name: %lib-rebol3-bulk-macos-x64
1222
+ flag: "-Wl,-install_name,'/usr/local/lib/librebol.3.dylib'"
1223
+ :target-macos
1224
+ :include-rebol-bulk
1225
+ :make-x64-dll
1226
+ ]
1227
+ "Rebol/Bulk macos-x64 host application" [
1228
+ name: %host-bulk-macos-x64
1229
+ shared: %lib-rebol3-bulk-macos-x64
1230
+ :target-macos
1231
+ :include-rebol-core
1232
+ :make-x64-host
1233
+ ]
1234
+
1235
+ "Rebol/Core macos-arm64 shared library" [
1236
+ name: %lib-rebol3-core-macos-arm64
1237
+ flag: "-Wl,-install_name,'/usr/local/lib/librebol-core.3.dylib'"
1238
+ :target-macos
1239
+ :include-rebol-core
1240
+ :make-arm64-dll
1241
+ ]
1242
+ "Rebol/Core macos-arm64 host application" [
1243
+ name: %host-core-macos-arm64
1244
+ shared: %lib-rebol3-core-macos-arm64
1245
+ :target-macos
1246
+ :include-rebol-core
1247
+ :make-arm64-host
1248
+ ]
1249
+
1250
+ "Rebol/Bulk macos-arm64 shared library" [
1251
+ name: %lib-rebol3-bulk-macos-arm64
1252
+ lflag: "-Wl,-install_name,'/usr/local/lib/librebol.3.dylib'"
1253
+ :target-macos
1254
+ :include-rebol-bulk
1255
+ :make-arm64-dll
1256
+ ]
1257
+ "Rebol/Bulk macos-arm64 host application" [
1258
+ name: %host-bulk-macos-arm64
1259
+ shared: %lib-rebol3-bulk-macos-arm64
1260
+ :target-macos
1261
+ :include-rebol-bulk
1262
+ :make-arm64-host
1263
+ ]
1215
1264
]
1216
1265
#if OpenBSD? [
1217
1266
"Rebol/Base openbsd-x86" [
0 commit comments