aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2015-12-05 20:13:46 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2015-12-05 20:13:46 +0100
commit29a59d799945d3f97b91ad3df84925c788bd7852 (patch)
tree5514973083be100084ed7c66684fd17e8a01722c
parent8c3ffd2a4fe2dbb0033c1f830d384c0c2d8c88a1 (diff)
downloadglutin-29a59d799945d3f97b91ad3df84925c788bd7852.tar.gz
glutin-29a59d799945d3f97b91ad3df84925c788bd7852.zip
Use the new build scripts dependencies system
-rw-r--r--build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index eaa42b3..e137ad7 100644
--- a/build.rs
+++ b/build.rs
@@ -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,