sdl: adjust SConstript to fix potential build errors on debian6
This commit is contained in:
parent
f1ac9a2830
commit
4d9d5280c9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue