Skip to content

Commit

Permalink
Probe system for custom cfitsio location
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Jun 15, 2016
1 parent 137c04b commit 2f15eb5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fitsio-sys/Cargo.toml
Expand Up @@ -6,9 +6,13 @@ description = "FFI wrapper around cfitsio"
homepage = "https://github.com/mindriot101/rust-cfitsio"
repository = "https://github.com/mindriot101/rust-cfitsio"
license = "MIT/Apache-2.0"
build = "build.rs"

[dependencies]
libc = "0.2.11"

[dev-dependencies]
tempdir = "0.3.4"

[build-dependencies]
pkg-config = "0.3"
5 changes: 5 additions & 0 deletions fitsio-sys/build.rs
@@ -0,0 +1,5 @@
extern crate pkg_config;

fn main() {
pkg_config::probe_library("cfitsio").unwrap();
}

0 comments on commit 2f15eb5

Please sign in to comment.