Browse Source

Build as dynamic library.

Statically linking broke alsa calls.
circle-ci
Andreas Linz 5 years ago
parent
commit
94b5ab899e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      build.rs

+ 1
- 0
build.rs View File

@ -80,6 +80,7 @@ fn build(target: String) {
err_exists!(fs::create_dir(&include_dir), &include_dir.display());
// set cargo flags
println!("cargo:rustc-link-lib=dylib={}", "soundio"); // -l
println!("cargo:rustc-link-search=native={}", &lib_dir.display()); // -L
println!("cargo:include={}", &include_dir.display());
println!("cargo:root={}", &dst_dir.display());

Loading…
Cancel
Save