mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-15 18:32:22 -07: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 {
|
||||
foreign import lib "system:System.framework"
|
||||
} else when ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD {
|
||||
foreign import lib "system:dl"
|
||||
} else {
|
||||
foreign import lib "system:c"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user