Skip to content
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

Static link SDL_gfx, SDL_image, SDL_mixer, SDL_ttf #1379

Open
finally0 opened this issue Mar 12, 2024 · 1 comment
Open

Static link SDL_gfx, SDL_image, SDL_mixer, SDL_ttf #1379

finally0 opened this issue Mar 12, 2024 · 1 comment

Comments

@finally0
Copy link

I was working on getting all the extra libraries to also compile & link statically, but I won't be continuing using SDL2 for the foreseeable future, but to not just throw my changes away, I pushed them into my repo, maybe useful to someone else working on this.

I was able to compile all libraries on Windows & Ubuntu.

https://github.com/finally0/rust-sdl2/tree/static-link-sdl2-libs

@mario-hess
Copy link

I really need this, because I can't get sdl2_ttf and sdl2_image to link statically. Can you please explain me how to use this? Thank you.

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

No branches or pull requests

2 participants