This line
https://github.com/haskell-game/sdl2/blame/master/sdl2.cabal#L168
was written twice already and perhaps it needs another tweak to work, because otherwise we get in https://github.com/haskell-game/sdl2/actions/runs/3732668333/jobs/6332423036#step:9:21
Missing (or bad) C libraries: SDL2, SDL2main, SDL2
I wonder if something like
cpp-options: -D_SDL_main_h -DSDL_main_h_ -DSDLmain_h_
would do the trick, but I can't easily check, because
~/r/sdl2$ git push --set-upstream origin mikolaj/tweak-windows-cpp-options
ERROR: Permission to haskell-game/sdl2.git denied to Mikolaj.
fatal: Could not read from remote repository.
Halp!