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
Allow shared zlib-ng #11747
Allow shared zlib-ng #11747
Conversation
|
@dolphin-emu-bot rebuild |
|
I guess I should also add "check_vendoring_approved(zlib-ng)"? I'm not sure how this logic works, so I didn't touch it. |
|
Please do -- I started working on this to make it easier for package maintainers to notice when we add new dependencies, by having an allowlist of things that they are ok with us vendoring. The idea being that when bumping to the next package version any new vendored dependency that you haven't explicitly approved (by adding it to an allowlist in a Do you maintain the Fedora package for Dolphin? If so I'd love feedback on whether that's useful / how to make it more useful :) (It wasn't there for zlib-ng because we didn't support non-vendored.) |
|
Thanks! I noticed there's a linking error: So I guess I should have waited for the build to complete before pushing. I believe inflateEnd comes from zlib if I recall correctly. |
|
Hmm having trouble with this one... It keeps trying to link against the system libz instead of libz-ng, causing missing symbol issues. |
5addd2a
to
6dad8f8
Compare
|
Sorry for the delay. I rebased on the latest master and it looks like dolphin_find_optional_system_library_pkgconfig resolves all my issues. |
|
@TellowKrinkle thanks for implementing this. It makes everything easier :) |
|
@TellowKrinkle I assume this is fine? Do you know if we need any specific zlib-ng version? |
|
Yes, I think this is fine. I do not know any specific zlib-ng version, and while we could try to search through to figure out, I'd be in favor of the "put it in with no minimum, and add a minimum if we get an issue about it failing to compile" solution |
|
Reasonable. |
I found out that it also happens if |
Should be self explanatory.
Allows for using shared zlib-ng if found by pkgconfig, similar to how zstd works.