-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[sdl_image] Fix static sdl_image with shared sdl #22575
[sdl_image] Fix static sdl_image with shared sdl #22575
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(see comments)
oops sorry! my comments regarding how Edit: oh, apologies I didn't see the referenced issue here #22485 Reading that thread, I think it all points to our gcc/Docker images not passing this correctly - is this still a problem right now? that is, does the recipe not build on our CI without passing this |
Continuing the discussion here: #22485 - really well diagnosed :D As for this PR, does adding |
I will check - I don't think it's entirely necessary at this point (there's been some changes to the xorg recipe since the issue arose). I will try removing it and see what happens. |
Conan v1 pipeline ✔️All green in build 1 (
Conan v2 pipeline ✔️
All green in build 1 ( |
@jcar87 Seems like it works, perhaps it would be worth checking if the resulting binaries are still linking to all the extra |
See my comment in #22532 (comment) - |
I think I'm just going to close this one. There are newer versions where this isn't an issue, so it's not worth the effort pushing this. |
Specify library name and version: sdl_image/2.6.3
Resolves #22532
This only affects 2.6.3, neither 2.0.5 nor the upcoming 2.8.x is affected.
The issue was that sdl_image's CMake would try to read from
${SDL2_INCLUDE_DIR}/SDL_version.h
, where the variable was a list, so it failed. The only thing this ultimately was used for was to get the version as a string, which Conan already provides as a variable directly.This seems to also be bitten by #22485.
Xorg is used by pulseaudio and xcbcommon, which both specify xorg components, but don't have
-Wl,--as-needed
in their build process. Should be two simple PRs to get those fixed.