|
@@ -18,7 +18,13 @@ when ODIN_OS == "windows" {
|
|
|
"system:Shell32.lib",
|
|
|
}
|
|
|
}
|
|
|
-when ODIN_OS == "linux" { foreign import lib "linux/libraylib.a" }
|
|
|
+when ODIN_OS == "linux" {
|
|
|
+ foreign import lib {
|
|
|
+ "linux/libraylib.a",
|
|
|
+ "system:dl",
|
|
|
+ "system:pthread",
|
|
|
+ }
|
|
|
+}
|
|
|
when ODIN_OS == "darwin" { foreign import lib "macos/libraylib.a" }
|
|
|
|
|
|
VERSION :: "3.7"
|
|
@@ -1393,4 +1399,4 @@ foreign lib {
|
|
|
SetAudioStreamVolume :: proc(stream: AudioStream, volume: f32) --- // Set volume for audio stream (1.0 is max level)
|
|
|
SetAudioStreamPitch :: proc(stream: AudioStream, pitch: f32) --- // Set pitch for audio stream (1.0 is base level)
|
|
|
SetAudioStreamBufferSizeDefault :: proc(size: c.int) --- // Default size for new audio streams
|
|
|
-}
|
|
|
+}
|