mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
posix: fix foreign import of dl for free/netbsd
This commit is contained in:
@@ -4,6 +4,8 @@ import "core:c"
|
|||||||
|
|
||||||
when ODIN_OS == .Darwin {
|
when ODIN_OS == .Darwin {
|
||||||
foreign import lib "system:System.framework"
|
foreign import lib "system:System.framework"
|
||||||
|
} else when ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD {
|
||||||
|
foreign import lib "system:dl"
|
||||||
} else {
|
} else {
|
||||||
foreign import lib "system:c"
|
foreign import lib "system:c"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user