Haiku build works again
This commit is contained in:
parent
e128f48ff6
commit
5aa8278f6c
2 changed files with 2 additions and 1 deletions
2
koch.nim
2
koch.nim
|
|
@ -299,7 +299,7 @@ of cmdArgument:
|
||||||
of "boot": boot(op.cmdLineRest)
|
of "boot": boot(op.cmdLineRest)
|
||||||
of "clean": clean(op.cmdLineRest)
|
of "clean": clean(op.cmdLineRest)
|
||||||
of "web": web(op.cmdLineRest)
|
of "web": web(op.cmdLineRest)
|
||||||
of "csource": csource(op.cmdLineRest)
|
of "csource", "csources": csource(op.cmdLineRest)
|
||||||
of "zip": zip(op.cmdLineRest)
|
of "zip": zip(op.cmdLineRest)
|
||||||
of "inno": inno(op.cmdLineRest)
|
of "inno": inno(op.cmdLineRest)
|
||||||
of "install": install(op.cmdLineRest)
|
of "install": install(op.cmdLineRest)
|
||||||
|
|
|
||||||
|
|
@ -1612,6 +1612,7 @@ when defined(linux) or defined(solaris) or defined(bsd) or defined(aix):
|
||||||
len = readlink(procPath, result, len)
|
len = readlink(procPath, result, len)
|
||||||
setLen(result, len)
|
setLen(result, len)
|
||||||
|
|
||||||
|
when not (defined(windows) or defined(macosx)):
|
||||||
proc getApplHeuristic(): string =
|
proc getApplHeuristic(): string =
|
||||||
result = string(paramStr(0))
|
result = string(paramStr(0))
|
||||||
# POSIX guaranties that this contains the executable
|
# POSIX guaranties that this contains the executable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue