diff --git a/README.md b/README.md index 32c1a87..b194394 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ - [`soundfonts`](https://github.com/BlackMIDIDevs/xsynth/tree/master/soundfonts): A module to parse soundfonts to be used in XSynth. - [`realtime`](https://github.com/BlackMIDIDevs/xsynth/tree/master/realtime): The real-time rendering module within XSynth. - [`render`](https://github.com/BlackMIDIDevs/xsynth/tree/master/render): A command line utility for rendering MIDIs to audio using XSynth. +- [`kdmapi`](https://github.com/BlackMIDIDevs/xsynth/tree/master/render): A cdylib wrapper around XSynth to act as a drop in replacement for OmniMIDI/KDMAPI. ## Demos diff --git a/kdmapi/build.rs b/kdmapi/build.rs index 87a8f11..defbf39 100644 --- a/kdmapi/build.rs +++ b/kdmapi/build.rs @@ -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") } }