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
2024-01-13 21:14:02 +01:00
parent 5e7b031a1d
commit 5896469f3b
16 changed files with 16 additions and 48 deletions
+1 -3
View File
@@ -4,10 +4,8 @@ import "core:c"
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"
}
/************************************************************************************************************************************************************