Subdomain Posts
None | 517 days ago
None | 517 days ago
None | 517 days ago
Bash | 517 days ago
Bash | 517 days ago
Bash | 518 days ago
Bash | 518 days ago
None | 582 days ago
None | 595 days ago
None | 624 days ago
Recent Posts
None | 4 sec ago
None | 9 sec ago
PHP | 12 sec ago
PHP | 16 sec ago
OCaml | 29 sec ago
None | 42 sec ago
None | 1 min ago
C# | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By k776 on the 18th of Oct 2008 09:46:14 AM Download | Raw | Embed | Report
  1. diff -r df8f70a1c1cd SConstruct
  2. --- a/SConstruct        Thu Oct 16 04:45:25 2008 -0400
  3. +++ b/SConstruct        Sat Oct 18 22:39:14 2008 +1300
  4.  -224,12 +224,12 @@
  5.          env.Append(LINKFLAGS='-pg')
  6.          env.Append(CXXFLAGS=' -O2')
  7.          env.Append(LINKFLAGS='-O2')
  8. -    if env['mingw'] or isWindowsPlatform:
  9. -        #These four options must be present before the object files when compiling in mingw
  10. -        env.Append(LINKFLAGS="-lmingw32 -lSDLmain -lSDL -mwindows")
  11. -        env.Append(LIBS=['wsock32', 'winmm'])
  12. -        env.ParseConfig("sh sdl-config --cflags")
  13. -        env.ParseConfig("sh sdl-config --libs")
  14. +    if env['mingw'] or isWindowsPlatform:
  15. +        env.Append(LIBPATH=['/usr/local/lib'])
  16. +        env.Append(LIBS=['wsock32', 'winmm', 'mingw32', 'SDLmain', 'SDL'])
  17. +        env.Append(LINKFLAGS=['-mwindows'])
  18. +        env.Append(CPPPATH=['/usr/local/include/SDL'])
  19. +        env.Append(CPPDEFINES=['-D_GNU_SOURCE=1', '-Dmain=SDL_main'])
  20.      else:
  21.          env.ParseConfig("sdl-config --cflags")
  22.          env.ParseConfig("sdl-config --libs")
Submit a correction or amendment below. [ previous version ] | [ difference ] | Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: