fix styleCheck for windows
This commit is contained in:
parent
431bc5886b
commit
9617720cab
2 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
# Compile with: nim c --passL:-rdynamic -r loader.nim
|
# Compile with: nim c --passl:-rdynamic -r loader.nim
|
||||||
import os
|
import os
|
||||||
import dynlib
|
import dynlib
|
||||||
import libffi
|
import libffi
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ when defined(windows):
|
||||||
|
|
||||||
const thisPath = currentSourcePath.parentDir
|
const thisPath = currentSourcePath.parentDir
|
||||||
const flag = "-I" & (thisPath / "common") & " -I" & thisPath
|
const flag = "-I" & (thisPath / "common") & " -I" & thisPath
|
||||||
{.passC: flag.}
|
{.passc: flag.}
|
||||||
|
|
||||||
{.pragma: mylib, header: r"common/ffi.h".}
|
{.pragma: mylib, header: r"common/ffi.h".}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue