Merge pull request #17 from gadomski/remove-usr-local-lib-link-path
Remove /usr/local/lib from rustc link search on OSX
This commit is contained in:
4
build.rs
4
build.rs
@ -92,10 +92,6 @@ fn main() {
|
|||||||
panic!("missing {}, run xcode-select --install", LIBPATH);
|
panic!("missing {}, run xcode-select --install", LIBPATH);
|
||||||
}
|
}
|
||||||
cmd.env("DYLD_LIBRARY_PATH", LIBPATH);
|
cmd.env("DYLD_LIBRARY_PATH", LIBPATH);
|
||||||
// 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");
|
|
||||||
}
|
}
|
||||||
let mut output_arg = String::from("--output");
|
let mut output_arg = String::from("--output");
|
||||||
output_arg.push('=');
|
output_arg.push('=');
|
||||||
|
|||||||
Reference in New Issue
Block a user