Skip to content

Commit e16c0bb

Browse files
committed
Set path to libc for openbsd.
1 parent 7f57f25 commit e16c0bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/evalffi.nim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ when defined(windows):
1717
const libcDll = "msvcrt.dll"
1818
elif defined(linux):
1919
const libcDll = "libc.so(.6|.5|)"
20+
elif defined(openbsd):
21+
const libcDll = "/usr/lib/libc.so(.95.1|)"
2022
elif defined(bsd):
2123
const libcDll = "/lib/libc.so.7"
2224
elif defined(osx):

0 commit comments

Comments
 (0)