vhbit / lmdb-rs

Rust bindings for LMDB
MIT License
114 stars 46 forks source link

Build lmdb with the gcc crate #36

Closed plietar closed 8 years ago

plietar commented 8 years ago

This makes compilation more robust, especially for cross compiling.

Fixes #33

xitep commented 8 years ago

LGTM! :+1: @vhbit are you fine with merging this?

vhbit commented 8 years ago

Sorry for the delay. I'm OK with this change. What confuses me is that

 println!("cargo:rustc-flags=-L {} -l static=lmdb", lib_dir.display());

was removed - is that handled by gcc crate now?

plietar commented 8 years ago

@vhbit Yes, the gcc crate automatically links to the built library.

vhbit commented 8 years ago

Thanks @plietar and @xitep! And apologize again for a delay