tcod-rs icon indicating copy to clipboard operation
tcod-rs copied to clipboard

Detect system-installed libtcod through pkg-config

Open ThibaultLemaire opened this issue 5 years ago • 0 comments

Following discussion on #299, we should update the build.rs to use pkg-config to find libtcod and skip compiling it if it's already present on the system.

Here is how rust-sdl2 uses pkg-config to find the SDL2 library.

ThibaultLemaire avatar Oct 10 '19 16:10 ThibaultLemaire