Closed sharkwouter closed 4 years ago
This fix is only needed if your system doesn't already have the developer package for sdl installed. Installing libsdl1.2-dev on an Ubuntu system would also make this error no longer show up as well, but I don't think using the system's files instead of the ones from the PSPSDK is desirable.
Will check if this breaks anything the following weekend. Thanks for your contribution. : - )
With the latest fixes, this may no longer be needed. I'll test this again.
I've retested this PR and it's very much needed. The only reason SDL_gfx builds in our docker container is that we have the libsdl1.2-dev package in it and it uses files from that to build, even though we do have them in the toolchain as well. Another issue is that libsdl1.2-dev has a lot of dependencies, which significantly increases the size of the container.
It probably still needs SDL to be installed before it, but adding this made me able to build SDL_gfx.
On my system I see SDL_gfx, SDL_image, SDL_ttf and squirrel failing to build. I'll see if I can find a fix for all of them in the coming days.