sdl: fixed some sconstruct glitch that didn't allow openGL to build

This commit is contained in:
punkrockguy318 2010-03-31 03:41:39 +00:00
parent d11744b9da
commit ec43e84f64
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,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):
conf.env.Append(CCFLAGS = " -DOPENGL")
conf.env.Append(CCFLAGS = "-DOPENGL")
conf.env.Append(CPPDEFINES = ['PSS_STYLE=1'])
# parse SDL cflags/libs
env.ParseConfig('sdl-config --cflags --libs')