summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index da6c74c..8383cda 100644
--- a/build.rs
+++ b/build.rs
@@ -21,4 +21,7 @@ fn main() {
}
println!("cargo:rustc-link-lib=ASICamera2");
println!("cargo:rustc-link-lib=qhyccd");
+ // qhyccd needs libstdc++
+ println!("cargo:rustc-flags=-l dylib=stdc++");
+ println!("cargo:rustc-flags=-l dylib=usb-1.0");
}