From 7ed0ab1a96ec423fc3121747fef17507d4965dbf Mon Sep 17 00:00:00 2001 From: Drew Pirrone-Brusse Date: Sat, 22 Sep 2018 21:08:35 -0400 Subject: [PATCH] Fix a missing-type bug --- sdl2-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdl2-sys/build.rs b/sdl2-sys/build.rs index b5f8a45e..343f1506 100644 --- a/sdl2-sys/build.rs +++ b/sdl2-sys/build.rs @@ -330,7 +330,7 @@ fn main() { let host = env::var("HOST").expect("Cargo build scripts always have HOST"); let target_os = get_os_from_triple(target.as_str()).unwrap(); - let sdl2_compiled_path; + let sdl2_compiled_path: PathBuf; #[cfg(feature = "bundled")] { let sdl2_source_path = download_sdl2(); sdl2_compiled_path = compile_sdl2(sdl2_source_path.as_path(), target_os);