mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Merge pull request #911 from AGausmann/patch/windows-bundle
Fix name of bundled SDL2.dll for windows targets
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user