From bb12c86aa0e3c48672b9125705c0d812983dd78e Mon Sep 17 00:00:00 2001 From: Yasu Watanabe Date: Sun, 24 Sep 2023 19:59:24 +0900 Subject: [PATCH] Correct names of framework for case sensitive FS. CoreMidi --> CoreMIDI system --> System Sample program of macroquad failed to compile because of mismatch of the above names. It is possible to be OK for case insensitive FS but it caused error on my mac with case sensitive FS setting. --- src/native/apple/frameworks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/native/apple/frameworks.rs b/src/native/apple/frameworks.rs index 6c0f9f6b..651da183 100644 --- a/src/native/apple/frameworks.rs +++ b/src/native/apple/frameworks.rs @@ -65,7 +65,7 @@ impl Drop for RcObjcId { } } -#[link(name = "system")] +#[link(name = "System")] extern "C" { pub static _NSConcreteStackBlock: [*const c_void; 32]; pub static _NSConcreteBogusBlock: [*const c_void; 32]; @@ -1252,7 +1252,7 @@ pub struct MIDIEventPacket { pub words: [u32; 64usize], } -#[link(name = "CoreMidi", kind = "framework")] +#[link(name = "CoreMIDI", kind = "framework")] extern "C" { pub static kMIDIPropertyManufacturer: CFStringRef; pub static kMIDIPropertyDisplayName: CFStringRef;