diff --git a/SConstruct b/SConstruct index 08e14a50..7dbe43a7 100644 --- a/SConstruct +++ b/SConstruct @@ -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