From d323d1adfe5cfa18eef9b3f8c2daa4fb4e66222e Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Fri, 16 Aug 2019 15:00:02 -0500 Subject: [PATCH] Fix name of bundled SDL2.dll --- 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 b9cb7c8a..9dd0c053 100644 --- a/sdl2-sys/build.rs +++ b/sdl2-sys/build.rs @@ -443,7 +443,7 @@ fn copy_dynamic_libraries(sdl2_compiled_path: &PathBuf, target_os: &str) { // copy sdl2.dll out of its build tree and down to the top level cargo // binary output directory. if target_os.contains("windows") { - let sdl2_dll_name = "sdl2.dll"; + let sdl2_dll_name = "SDL2.dll"; let sdl2_bin_path = sdl2_compiled_path.join("bin"); let target_path = find_cargo_target_dir();