From 74a28adba2a07d56bce9592f24196442192e68e0 Mon Sep 17 00:00:00 2001 From: Kirill Zdornyy Date: Tue, 1 Mar 2016 18:06:13 -0800 Subject: Fix this_platform_is_not_supported on OpenBSD. I followed the steps of @mneumann. --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.rs') diff --git a/build.rs b/build.rs index bf25c95..5367173 100644 --- a/build.rs +++ b/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, -- cgit v1.2.3