Adjust pkg-config dependency, revise requirements

This commit is contained in:
Nathan Fiedler 2019-02-01 20:32:10 -08:00
parent 07c4971b66
commit 9f47958081
2 changed files with 3 additions and 3 deletions

View file

@ -15,4 +15,4 @@ libc = ">=0.2"
[build-dependencies]
bindgen = "0.31"
pkg-config = "0.3"
pkg-config = ">=0.3"

View file

@ -4,8 +4,7 @@ A somewhat safe Rust interface to the [ImageMagick](http://www.imagemagick.org/)
## Dependencies
* Rust 1.20 or higher (on Windows you will require MSVC version)
* Cargo 0.20 or higher
* Rust stable
* ImageMagick (version 7.0.x)
- Does _not_ work with ImageMagick 6.x due to backward incompatible changes.
- [FreeBSD](https://www.freebsd.org): `sudo pkg install ImageMagick7`
@ -14,6 +13,7 @@ A somewhat safe Rust interface to the [ImageMagick](http://www.imagemagick.org/)
- Windows: download `*-dll` [installer](https://www.imagemagick.org/script/download.php#windows). Only MSVC version available. When installing, check the checkbox "Install development headers and libraries for C and C++".
* [Clang](https://clang.llvm.org) (version 3.5 or higher)
- Or whatever version is dictated by [rust-bindgen](https://github.com/servo/rust-bindgen)
* Windows requires MSVC toolchain
* Optionally `pkg-config`, to facilitate linking with ImageMagick. Or you can set linker parameters via environment variables.
## Build and Test