Skip to content

Commit b95ae69

Browse files
committed
FIX: using correct library extension on OSX
1 parent 4704510 commit b95ae69

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

make/make.r3

+13-12
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ cmd-actions: [
1717

1818
settings: []
1919

20+
either system/version/4 = 3 [;Windows
21+
MV: {move /Y }
22+
BIN_SUFFIX: %.exe
23+
LIB_SUFFIX: %.dll
24+
LS: {dir }
25+
][
26+
MV: {mv -f }
27+
LS: {ls -la }
28+
BIN_SUFFIX: %""
29+
LIB_SUFFIX: %.so
30+
]
31+
2032
rebol-tool: to-local-file join %prebuild/r3-make switch/default system/version/4 [
2133
1 [%-amiga ]
2234
2 [
@@ -27,6 +39,7 @@ rebol-tool: to-local-file join %prebuild/r3-make switch/default system/version/4
2739
]
2840
%-osx ]
2941
3 [
42+
LIB_SUFFIX: %.dylib
3043
append settings [
3144
"Win32 console" [0.3.01 %..\build\win-x86\ TOOLS-Win32]
3245
"Win64 console" [0.3.40 %..\build\win-x64\ TOOLS-Win64]
@@ -50,18 +63,6 @@ rebol-tool: to-local-file join %prebuild/r3-make switch/default system/version/4
5063
13 [%-android]
5164
][ %"" ]
5265

53-
either system/version/4 = 3 [;Windows
54-
MV: {move /Y }
55-
BIN_SUFFIX: %.exe
56-
LIB_SUFFIX: %.dll
57-
LS: {dir }
58-
][
59-
MV: {mv -f }
60-
LS: {ls -la }
61-
BIN_SUFFIX: %""
62-
LIB_SUFFIX: %.so
63-
]
64-
6566
i: 1
6667
foreach [name data] settings [
6768
set [OS_ID BUILD_DIR TOOLS] data

0 commit comments

Comments
 (0)