Fix this_platform_is_not_supported on OpenBSD.

I followed the steps of @mneumann.
This commit is contained in:
Kirill Zdornyy 2016-03-01 18:06:13 -08:00
parent 366608d026
commit 74a28adba2
14 changed files with 22 additions and 15 deletions

View file

@ -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,