fixed import object name
This commit is contained in:
parent
e940e7d37b
commit
9be15cd3b3
1 changed files with 3 additions and 3 deletions
|
|
@ -9,11 +9,11 @@ import os
|
|||
const RUNTIME = 35 * 60 # 35 minutes
|
||||
|
||||
when defined(windows):
|
||||
const dllname = "./server.dll"
|
||||
const dllname = "./shared.dll"
|
||||
elif defined(macosx):
|
||||
const dllname = "./libserver.dylib"
|
||||
const dllname = "./libshared.dylib"
|
||||
else:
|
||||
const dllname = "./libserver.so"
|
||||
const dllname = "./libshared.so"
|
||||
|
||||
proc status() {.importc: "status", dynlib: dllname.}
|
||||
proc count() {.importc: "count", dynlib: dllname.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue