Skip to content

Instantly share code, notes, and snippets.

Created March 1, 2015 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/9d1060281ed7127a54d2 to your computer and use it in GitHub Desktop.
Save anonymous/9d1060281ed7127a54d2 to your computer and use it in GitHub Desktop.
a patch to get sdl2 compiling on windows for me
diff --git sdl2.cabal sdl2.cabal
index 89def06..f4db1ae 100644
--- sdl2.cabal
+++ sdl2.cabal
@@ -100,11 +100,10 @@ library
sdlhelper.h
extra-libraries:
+ mingw32
+ SDL2main
SDL2
- pkgconfig-depends:
- sdl2 >= 2.0.3
-
build-depends:
base >= 4.7 && < 5,
bytestring >= 0.10.4.0 && < 0.11,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment