Skip to content

cpp-options for Windows need an update again (probably) to fix our broken CI #280

Description

@Mikolaj

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions