Include path to MagickWand for easier building

This commit is contained in:
Nathan Fiedler
2015-12-23 11:34:51 -08:00
parent c2300b02cf
commit 0474886c14
2 changed files with 9 additions and 0 deletions

8
build.rs Normal file
View File

@ -0,0 +1,8 @@
// build.rs
fn main() {
// For the sake of easily building and testing on Mac, include the path
// to MagickWand. Chances are MagickWand is in /usr/local/lib, or
// somewhere else that rustc can find it.
println!("cargo:rustc-link-search=native=/usr/local/lib");
}