Quite a regular ![Quite a regular](https://www.amigans.net/uploads/rank3dbf8e9e7d88d.gif)
Joined: 2009/4/28 4:57 Last Login
: 8/30 14:32
From Adelaide, Australia
Group:
Registered Users
|
That's a headache if libSDL2_net, _ttf, _gfx etc were updated at different times with different SDL2 versions. Sure you can make softlinks of previous versions that all link to the latest SDL2 .so, but it doesn't look nice aesthetically. For most libraries, I try to use library.so.majornum for the soname, so newer versions can be just a drop in replacement. I use version_type=qnx in libtool for that. (Edit: Although this doesn't appear to have an effect anymore for SDL2 libs, see edit at the bottom of the post).
I know the solution is to update every SDL2 library all at the same time, but then there's still all the programs too, which could be ported by various different people, and might not include the .so files inside the archive.
Fortunately just about everything is linked statically and ScummVM is one of the only exceptions, and includes the required files in the archive, so it's not a huge deal.
Edit: I see that on OS4Depot my last ports of SDL2_image and SDL2_ttf use the sonames of libSDL2_image-2.0.so.600 and libSDL2_ttf-2.0.so.2000. Usually these are only dependencies of the main binary of whatever is being compiled, and not of other libraries, so it shouldn't be too much of an issue, but nevertheless it's something for me to consider. I don't think version_type=qnx stops it with the SDL2 libs.
Edited by MickJT on 2024/3/16 12:46:50 Edited by MickJT on 2024/3/16 12:51:58 Edited by MickJT on 2024/3/16 12:53:09 Edited by MickJT on 2024/3/16 12:58:08 Edited by MickJT on 2024/3/16 13:02:42
|