Skip to content

Commit

Permalink
Don't use framework kind on non-apple targets
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Aug 29, 2022
1 parent 20da3e1 commit d0d7a29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core_graphics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#![cfg(feature = "core_graphics")]

#[link(name = "CoreGraphics", kind = "framework")]
#[cfg_attr(target_vendor = "apple", link(name = "CoreGraphics", kind = "framework"))]
#[cfg_attr(not(target_vendor = "apple"), link(name = "CoreGraphics"))]
extern "C" {}

mod geometry;
Expand Down

0 comments on commit d0d7a29

Please sign in to comment.