If you want to build the SDL3 library for Linux right now today, you have to specify -DSDL_X11_XSCRNSAVER=OFF or it will assume that's what you wanted and take a hard dependency on the xscreensaver libraries

EDIT: To clarify based on things people have said in replies: It's not a linking dependency, but you DO need to either configure headers or disable the feature; the feature is for blocking the screensaver from activating during EG noninteractive cutscenes.

@mcc hahahaha this is the most Linux thing ever
@PsySal @mcc it's certainly the most SDL thing ever, I have never understood why that library is so batteries included by default
@aoanla @PsySal entire library is made of batteries. The library IS the batteries