Add system:dl to foreign import for dlfcn.odin

This commit is contained in:
gingerBill
2025-06-11 15:27:00 +01:00
parent 5bf180d8f9
commit 4aec582a05
+4 -1
View File
@@ -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