diff options
author | Michael Neumann <mneumann@ntecs.de> | 2015-08-29 22:54:17 +0200 |
---|---|---|
committer | Michael Neumann <mneumann@ntecs.de> | 2015-08-30 13:52:09 +0200 |
commit | b707959c2c0ae97c2225c2e6dbc07fc754125458 (patch) | |
tree | bd9b70c965bd0edbf2a96c1be7ecc4c440488c87 /build.rs | |
parent | b8b1b80631e1335a7ab747f34e1c67dfa0790a10 (diff) | |
download | glutin-b707959c2c0ae97c2225c2e6dbc07fc754125458.tar.gz glutin-b707959c2c0ae97c2225c2e6dbc07fc754125458.zip |
Make it work on DragonFly/FreeBSD
Tested on DragonFly BSD. Should work similarily on FreeBSD.
Diffstat (limited to 'build.rs')
-rw-r--r-- | build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |