Fix a missing-type bug

This commit is contained in:
Drew Pirrone-Brusse
2018-09-23 15:14:36 +02:00
committed by Cobrand
parent c33715bf5f
commit 7ed0ab1a96
+1 -1
View File
@@ -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);