-
Notifications
You must be signed in to change notification settings - Fork 12
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 linking #225
Comments
Hello. Tried to compile the static-working branch on mingw64 and I got the following error message:
Looks like bzip2 is a dependency of minizip and is not included in the static link. I will try to install the bzip2 package and see how it goes |
It is not ready. I am trying (and so far failing) to understand static linking in cmake. |
No problem, it was just to give a feedback, no complain here 😉By the way, I did manage to have a successful compilation with this patch:
|
The branch now works in linux and static links as much as I think it is humanly possible. In msys2 it compiles, looks to be more static, but I was not able to test it for real. Will do it in the next days.
does it matter? |
libwinpthread is distributed with retroarch, so I think it's ok 😊 |
I can confirm that it now works perfectly in retroarh without any added dll. Thanks ! |
Add ability to link statically as much as possible.
It is particularly important for msys2, where non-Windows DLLs cannot be easily found when exes are executes outside a msys2 environment.
But it will help other cases too.
The text was updated successfully, but these errors were encountered: