fixes DLL generation
This commit is contained in:
parent
b15f323f03
commit
5e839d50b4
7 changed files with 56 additions and 49 deletions
|
|
@ -30,9 +30,9 @@ when defined(createNimRtl):
|
|||
{.pragma: inl.}
|
||||
{.pragma: compilerRtl, compilerproc, exportc: "nimrtl_$1", dynlib.}
|
||||
elif defined(useNimRtl):
|
||||
when hostOS == "windows":
|
||||
when defined(windows):
|
||||
const nimrtl* = "nimrtl.dll"
|
||||
elif hostOS == "macosx":
|
||||
elif defined(macosx):
|
||||
const nimrtl* = "nimrtl.dylib"
|
||||
else:
|
||||
const nimrtl* = "libnimrtl.so"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue