sdl: adjust SConstript to fix potential build errors on debian6

This commit is contained in:
punkrockguy318 2011-10-03 14:50:24 +00:00
parent f1ac9a2830
commit 4d9d5280c9
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ if env['PLATFORM'] == 'win32':
env.Append(LIBS = ["rpcrt4", "comctl32", "vfw32", "winmm", "ws2_32", "comdlg32", "ole32", "gdi32", "htmlhelp"])
else:
conf = Configure(env)
assert conf.CheckLibWithHeader('z', 'zlib.h', 'C', 'inflate;', 1), "please install: zlib"
assert conf.CheckLibWithHeader('z', 'zlib.h', 'c', 'inflate;', 1), "please install: zlib"
if not conf.CheckLib('SDL'):
print 'Did not find libSDL or SDL.lib, exiting!'
Exit(1)