mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
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:
Vendored
+1
-3
@@ -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"
|
||||
}
|
||||
|
||||
/************************************************************************************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user