scons: fixed a build issue where openGL was not being compiled in with some implementations on libgl

This commit is contained in:
punkrockguy318 2012-06-23 22:31:27 +00:00
parent 66f76f6e12
commit 371436742f
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ else:
if conf.CheckFunc('asprintf'):
conf.env.Append(CCFLAGS = "-DHAVE_ASPRINTF")
if env['OPENGL'] and conf.CheckLibWithHeader('GL', 'GL/gl.h', 'c++', autoadd=1):
if env['OPENGL'] and conf.CheckLibWithHeader('GL', 'GL/gl.h', 'c', autoadd=1):
conf.env.Append(CCFLAGS = "-DOPENGL")
conf.env.Append(CPPDEFINES = ['PSS_STYLE=1'])
# parse SDL cflags/libs