mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
link to suil from nixpkgs
This commit is contained in:
parent
278b213f12
commit
24cfbfd959
4 changed files with 5 additions and 2 deletions
|
|
@ -3,10 +3,10 @@ use std::env::var;
|
|||
use bindgen::{Builder, CargoCallbacks};
|
||||
fn main() {
|
||||
//println!("cargo:rustc-link-lib=lv2");
|
||||
//println!("cargo:rustc-link-lib=suil");
|
||||
println!("cargo:rustc-link-lib=suil-0");
|
||||
let bindings = Builder::default()
|
||||
.header("wrapper.h")
|
||||
.clang_arg("-Ilv2/include/lv2")
|
||||
//.clang_arg("-Ilv2/include/lv2")
|
||||
.clang_arg("-Isuil/include/suil")
|
||||
.parse_callbacks(Box::new(CargoCallbacks::new()))
|
||||
.generate()
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ use crate::*;
|
|||
|
||||
#[test]
|
||||
fn panics () {
|
||||
let host = Host::new();
|
||||
self::ui::UI::run().join();
|
||||
panic!();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue