Compare commits
1 Commits
master
...
pkg-config
| Author | SHA1 | Date | |
|---|---|---|---|
| da465daa20 |
2
build.rs
2
build.rs
@ -58,7 +58,7 @@ fn main() {
|
|||||||
.arg("--cppflags")
|
.arg("--cppflags")
|
||||||
.output()
|
.output()
|
||||||
} else {
|
} else {
|
||||||
Command::new("MagickCore-config").arg("--cppflags").output()
|
Command::new("pkg-config").args(["--cflags", "--libs", "MagickCore"]).output()
|
||||||
};
|
};
|
||||||
if let Ok(ok_cppflags) = check_cppflags {
|
if let Ok(ok_cppflags) = check_cppflags {
|
||||||
let cppflags = ok_cppflags.stdout;
|
let cppflags = ok_cppflags.stdout;
|
||||||
|
|||||||
Reference in New Issue
Block a user