Open AregevDev opened 5 years ago
For the include files with bindgen, I'm sure there is already a way to do that (specify where the headers should be taken from). More info here: https://github.com/Rust-SDL2/rust-sdl2#generating-sdl2-sys-with-bindgen
You can also use the feature pkg-config to automatically use what your OS would use (only available natively to Linux & Mac).
If you are talking about something else, I'll need more details then!
Hi, I am new to SDL2: I like how the openssl bindings handle custom library location, and I will be happy to see it coming to SDL2: Check an environment variable to detect SDL2 library and include location (IE: SDL2_DIR) and how to link the libraries (SDL2_STATIC)