mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Add system:dl to foreign import for dlfcn.odin
This commit is contained in:
@@ -8,7 +8,10 @@ when ODIN_OS == .Darwin {
|
|||||||
} else when ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD {
|
} else when ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD {
|
||||||
foreign import lib "system:dl"
|
foreign import lib "system:dl"
|
||||||
} else {
|
} else {
|
||||||
foreign import lib "system:c"
|
foreign import lib {
|
||||||
|
"system:c",
|
||||||
|
"system:dl",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// dlfcn.h - dynamic linking
|
// dlfcn.h - dynamic linking
|
||||||
|
|||||||
Reference in New Issue
Block a user