Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges committed Jan 10, 2024
1 parent e2ea31f commit 69dfa71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ macro_rules! import_cpp {
link(name = "Qt5Core", kind = "dylib"),
link(name = "Qt5Network", kind = "dylib")
)]
#[link(name = "c++")]
#[cfg_attr(target_os = "macos", link(name = "c++"))]
#[cfg_attr(not(target_os = "macos"), link(name = "stdc++"))]
extern "C" {
$($tt)*
}
Expand Down

0 comments on commit 69dfa71

Please sign in to comment.