Commit 511fe838 authored by John van Groningen's avatar John van Groningen

add .exe only on windows (not on linux or macosx)

parent 6dcb7631
......@@ -49,7 +49,7 @@ add_dot_exe_if_necessary module_name
MakeExecPathname :: !String -> Pathname;
MakeExecPathname name
= PlatformDependant
= IF_WINDOWS
(add_dot_exe_if_necessary (RemoveSuffix name)) // Win
(RemoveSuffix name) // Mac
......
......@@ -102,7 +102,7 @@ PR_NewProject main_module_file_name eo compilerOptions cgo ao prjpaths linkOptio
= { PR_InitProject
& saved = False
, exec = False
, execpath = PlatformDependant
, execpath = IF_WINDOWS
("{Project}"+++DirSeparatorString+++add_dot_exe_if_necessary modname) // Win
("{Project}"+++DirSeparatorString+++modname) // Mac
, inflist =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment