Merge pull request #911 from AGausmann/patch/windows-bundle

Fix name of bundled SDL2.dll for windows targets
This commit is contained in:
Cobrand
2019-09-11 18:35:28 +00:00
committed by GitHub
+1 -1
View File
@@ -435,7 +435,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();