Open ThibaultLemaire opened 5 years ago
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.
build.rs
pkg-config
libtcod
Here is how rust-sdl2 uses pkg-config to find the SDL2 library.
rust-sdl2
SDL2
Following discussion on #299, we should update the
build.rs
to usepkg-config
to findlibtcod
and skip compiling it if it's already present on the system.Here is how
rust-sdl2
usespkg-config
to find theSDL2
library.