code_junkie

How to statically compile an SDL game on Windows

Nov 11th, 2011
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. SDLLIBS=`sdl-config --libs`
  2.  
  3. SDLLIBS=-Wl,-Bstatic `sdl-config --static-libs` -Wl,-Bdynamic
  4.  
  5. -Wl,Bstatic -lSDL_image `sdl-config --libs` -lpng12 -lz -ltiff -ljpeg -lasound -laudio -lesd -Wl,-Bdynamic `directfb-config --libs` -lpulse-simple -lcaca -laa -ldl
Add Comment
Please, Sign In to add comment