diff --git a/Cargo.toml b/Cargo.toml index 2305818..92aaaf0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,5 @@ mountainlion = [] [dependencies] foreign-types = "0.3" libc = "0.2" - -[target.x86_64-apple-darwin.dependencies] core-foundation = "0.4" core-graphics = "0.11" diff --git a/src/font.rs b/src/font.rs index cf14aee..b9a06f7 100644 --- a/src/font.rs +++ b/src/font.rs @@ -417,7 +417,7 @@ pub fn cascade_list_for_languages(font: &CTFont, language_pref_list: &CFArray) - } } -#[link(name = "ApplicationServices", kind = "framework")] +#[link(name = "CoreText", kind = "framework")] extern { /* * CTFont.h