sdl: fixed some sconstruct glitch that didn't allow openGL to build
This commit is contained in:
parent
d11744b9da
commit
ec43e84f64
|
@ -87,7 +87,7 @@ else:
|
||||||
if conf.CheckFunc('asprintf'):
|
if conf.CheckFunc('asprintf'):
|
||||||
conf.env.Append(CCFLAGS = "-DHAVE_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(CCFLAGS = "-DOPENGL")
|
||||||
conf.env.Append(CPPDEFINES = ['PSS_STYLE=1'])
|
conf.env.Append(CPPDEFINES = ['PSS_STYLE=1'])
|
||||||
# parse SDL cflags/libs
|
# parse SDL cflags/libs
|
||||||
env.ParseConfig('sdl-config --cflags --libs')
|
env.ParseConfig('sdl-config --cflags --libs')
|
||||||
|
|
Loading…
Reference in New Issue