Fix this_platform_is_not_supported on OpenBSD.
I followed the steps of @mneumann.
This commit is contained in:
parent
366608d026
commit
74a28adba2
14 changed files with 22 additions and 15 deletions
2
build.rs
2
build.rs
|
|
@ -63,7 +63,7 @@ fn main() {
|
|||
"1.5", "core", &mut file).unwrap();
|
||||
}
|
||||
|
||||
if target.contains("linux") || target.contains("dragonfly") || target.contains("freebsd") {
|
||||
if target.contains("linux") || target.contains("dragonfly") || target.contains("freebsd") || target.contains("openbsd") {
|
||||
let mut file = File::create(&dest.join("glx_bindings.rs")).unwrap();
|
||||
gl_generator::generate_bindings(gl_generator::StructGenerator,
|
||||
gl_generator::registry::Ns::Glx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue