vendor/miniaudio: fix import for macos

Using `system:miniaudio` is suboptimal, we already provide the
`Makefile` that builds the `lib/miniaudio.a` and this works on MacOS.
This PR makes linking with that library the default.
This commit is contained in:
Laytan Laats committed 2024-01-13 21:14:02 +01:00
1 parent 5e7b031a1d
commit 5896469f3b
16 files changed
+16 -48

No files matched your search

+1 -3
View File
@@ -2,10 +2,8 @@ package miniaudio
when ODIN_OS == .Windows {
foreign import lib "lib/miniaudio.lib"
} else when ODIN_OS == .Linux {
foreign import lib "lib/miniaudio.a"
} else {
foreign import lib "system:miniaudio"
foreign import lib "lib/miniaudio.a"
}
@(default_calling_convention="c", link_prefix="ma_")