diff options
| author | gingerBill <bill@gingerbill.org> | 2025-06-11 15:27:00 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2025-06-11 15:27:00 +0100 |
| commit | 4aec582a05a5df06f10345ec77df5941b7e30564 (patch) | |
| tree | 11082d857f7ca818e4f0475521358d1ab554b6cb /core/sys/posix | |
| parent | 5bf180d8f9ab3f673f74119c9dbbe239e94ced63 (diff) | |
Add `system:dl` to `foreign import` for dlfcn.odin
Diffstat (limited to 'core/sys/posix')
| -rw-r--r-- | core/sys/posix/dlfcn.odin | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/sys/posix/dlfcn.odin b/core/sys/posix/dlfcn.odin index e84b29d79..378c95c32 100644 --- a/core/sys/posix/dlfcn.odin +++ b/core/sys/posix/dlfcn.odin @@ -8,7 +8,10 @@ when ODIN_OS == .Darwin { } else when ODIN_OS == .FreeBSD || ODIN_OS == .NetBSD { foreign import lib "system:dl" } else { - foreign import lib "system:c" + foreign import lib { + "system:c", + "system:dl", + } } // dlfcn.h - dynamic linking |