File: build.rs

package info (click to toggle)
rust-lmdb-master-sys 0.2.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 264 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 264 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate pkg_config;

#[cfg(feature = "bindgen")]
extern crate bindgen;

#[cfg(feature = "bindgen")]
#[path = "bindgen.rs"]
mod generate;

fn main() {
    #[cfg(feature = "bindgen")]
    generate::generate();

    pkg_config::probe_library("lmdb").unwrap();
}