Skip to content

Commit

Permalink
Fix KDMAPI build
Browse files Browse the repository at this point in the history
  • Loading branch information
MyBlackMIDIScore committed Aug 25, 2024
1 parent bd6d5a9 commit b49005c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kdmapi/build.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
fn main() {
if cfg!(windows) {
// Building on Windows
println!("cargo:rustc-cdylib-link-arg=/DEF:Ordinals.def")
println!("cargo:rustc-cdylib-link-arg=/DEF:kdmapi/Ordinals.def")
} else if std::env::var_os("CARGO_CFG_WINDOWS").is_some() {
// Cross building for Windows
println!("cargo:rustc-cdylib-link-arg=Ordinals.def")
println!("cargo:rustc-cdylib-link-arg=kdmapi/Ordinals.def")
}
}

0 comments on commit b49005c

Please sign in to comment.