diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-12-06 12:14:29 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-12-06 12:14:29 +0100 |
commit | 4f0aeafbed98e62515f5d10108f377a9b188cb4c (patch) | |
tree | 5cf4f1afadc0c329d995d6933fbf70437e277953 | |
parent | 48a02a0c8c9029543360884f1daaaade5d3f11a5 (diff) | |
parent | 29a59d799945d3f97b91ad3df84925c788bd7852 (diff) | |
download | glutin-4f0aeafbed98e62515f5d10108f377a9b188cb4c.tar.gz glutin-4f0aeafbed98e62515f5d10108f377a9b188cb4c.zip |
Merge pull request #669 from tomaka/build-script-dependency
Use the new build scripts dependencies system
-rw-r--r-- | build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,6 +9,8 @@ fn main() { let target = env::var("TARGET").unwrap(); let dest = PathBuf::from(&env::var("OUT_DIR").unwrap()); + println!("cargo:rerun-if-changed=build.rs"); + if target.contains("windows") { let mut file = File::create(&dest.join("wgl_bindings.rs")).unwrap(); gl_generator::generate_bindings(gl_generator::StaticGenerator, |