diff --git a/vendor/box3d/box3d.odin b/vendor/box3d/box3d.odin index fe9f591af..2eb792dea 100644 --- a/vendor/box3d/box3d.odin +++ b/vendor/box3d/box3d.odin @@ -7,9 +7,16 @@ import "core:c" ENABLE_VALIDATION :: false -@(export) -foreign import lib { - "box3d.lib", +when ODIN_OS == .Windows { + @(export) + foreign import lib { + "lib/box3d.lib", + } +} else { + @(export) + foreign import lib { + "system:box3d", + } } // This is used to indicate null for interfaces that work with indices instead of pointers diff --git a/vendor/box3d/lib/box3d.lib b/vendor/box3d/lib/box3d.lib new file mode 100644 index 000000000..4bc6c5b21 Binary files /dev/null and b/vendor/box3d/lib/box3d.lib differ