Skip to content

"Install" Windows dynamic libraries #796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 23, 2018
Merged

"Install" Windows dynamic libraries #796

merged 2 commits into from
Sep 23, 2018

Conversation

pyrrho
Copy link
Contributor

@pyrrho pyrrho commented Sep 22, 2018

Windows binaries don't embed library search paths, so tests were
failing for being unable to find sdl2.dll. This commit adds some
logic to copy that DLL into a known-good location.

Windows binaries don't embed library search paths, so tests were
failing for being unable to find sdl2.dll. This commit adds some
logic to copy that DLL into a known-good location.
@Cobrand
Copy link
Member

Cobrand commented Sep 22, 2018

Looks food to me, but Travis is failing because it can't infer some type. Fix those and I'll be happy to merge.

@pyrrho
Copy link
Contributor Author

pyrrho commented Sep 23, 2018

Ha! That was a silly mistake.

This commit should fix it, though I believe osx will still fail due to the bug being discussed in #781.
[Edit: Ah, my mistake. Because --features bundled isn't in the build matrix on this branch, the libsdl2.dylib symlink issue won't be biting us. Awesome!]

@Cobrand Cobrand merged commit 7ed0ab1 into Rust-SDL2:master Sep 23, 2018
@pyrrho pyrrho deleted the bundled_windows_dlls branch September 23, 2018 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants