Fix linking errors by including MagickCore as well
This commit is contained in:
2
build.rs
2
build.rs
@ -94,7 +94,7 @@ fn main() {
|
|||||||
Ok(ref v) => v.split(PATH_SEPARATOR).map(|x| x.to_owned()).collect(),
|
Ok(ref v) => v.split(PATH_SEPARATOR).map(|x| x.to_owned()).collect(),
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
if target.contains("windows") {
|
if target.contains("windows") {
|
||||||
vec!["CORE_RL_MagickWand_".to_string()]
|
vec!["CORE_RL_MagickWand_".to_string(), "CORE_RL_MagickCore_".to_string()]
|
||||||
} else if target.contains("freebsd") {
|
} else if target.contains("freebsd") {
|
||||||
vec!["MagickWand-7".to_string()]
|
vec!["MagickWand-7".to_string()]
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user