summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorAndy Wortman <ixineeringeverywhere@gmail.com>2019-03-14 23:04:31 -0700
committerAndy Wortman <ixineeringeverywhere@gmail.com>2019-03-14 23:04:31 -0700
commit132d623a422e1b73f6e5d8911a82a75290637d10 (patch)
tree245c31266a0a3306e8611b4e33f164004f746811 /build.rs
parente1fec0d69304aabc5d69226e787ed5939fcd8316 (diff)
add qhy control software
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");
}