mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 06:10:07 -04:00
Make it work on DragonFly/FreeBSD
Tested on DragonFly BSD. Should work similarily on FreeBSD.
This commit is contained in:
2
build.rs
2
build.rs
@@ -59,7 +59,7 @@ fn main() {
|
||||
"1.5", "core", &mut file).unwrap();
|
||||
}
|
||||
|
||||
if target.contains("linux") {
|
||||
if target.contains("linux") || target.contains("dragonfly") || target.contains("freebsd") {
|
||||
let mut file = File::create(&dest.join("glx_bindings.rs")).unwrap();
|
||||
gl_generator::generate_bindings(gl_generator::StructGenerator,
|
||||
gl_generator::registry::Ns::Glx,
|
||||
|
||||
Reference in New Issue
Block a user