try adding check for zlib

This commit is contained in:
zeromus 2010-07-02 07:18:59 +00:00
parent ee91747ce1
commit 13c6912cbc
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,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"
if not conf.CheckLib('SDL'):
print 'Did not find libSDL or SDL.lib, exiting!'
Exit(1)