diff options
author | Kirill Zdornyy <kirill@dineserve.com> | 2016-03-01 18:06:13 -0800 |
---|---|---|
committer | Kirill Zdornyy <kirill@dineserve.com> | 2016-03-01 18:06:13 -0800 |
commit | 74a28adba2a07d56bce9592f24196442192e68e0 (patch) | |
tree | d1d0075f4e4f60015c021da70b6eabf67313f37d /build.rs | |
parent | 366608d026b7bcdb2b7478e932b0776ad0b51531 (diff) | |
download | glutin-74a28adba2a07d56bce9592f24196442192e68e0.tar.gz glutin-74a28adba2a07d56bce9592f24196442192e68e0.zip |
Fix this_platform_is_not_supported on OpenBSD.
I followed the steps of @mneumann.
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |