Skip to content

Commit

Permalink
FIX: using correct library extension on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Oct 26, 2017
1 parent 4704510 commit b95ae69
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions make/make.r3
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ cmd-actions: [

settings: []

either system/version/4 = 3 [;Windows
MV: {move /Y }
BIN_SUFFIX: %.exe
LIB_SUFFIX: %.dll
LS: {dir }
][
MV: {mv -f }
LS: {ls -la }
BIN_SUFFIX: %""
LIB_SUFFIX: %.so
]

rebol-tool: to-local-file join %prebuild/r3-make switch/default system/version/4 [
1 [%-amiga ]
2 [
Expand All @@ -27,6 +39,7 @@ rebol-tool: to-local-file join %prebuild/r3-make switch/default system/version/4
]
%-osx ]
3 [
LIB_SUFFIX: %.dylib
append settings [
"Win32 console" [0.3.01 %..\build\win-x86\ TOOLS-Win32]
"Win64 console" [0.3.40 %..\build\win-x64\ TOOLS-Win64]
Expand All @@ -50,18 +63,6 @@ rebol-tool: to-local-file join %prebuild/r3-make switch/default system/version/4
13 [%-android]
][ %"" ]

either system/version/4 = 3 [;Windows
MV: {move /Y }
BIN_SUFFIX: %.exe
LIB_SUFFIX: %.dll
LS: {dir }
][
MV: {mv -f }
LS: {ls -la }
BIN_SUFFIX: %""
LIB_SUFFIX: %.so
]

i: 1
foreach [name data] settings [
set [OS_ID BUILD_DIR TOOLS] data
Expand Down

0 comments on commit b95ae69

Please sign in to comment.