From 371436742f7dd7e64a88a8c96ec723c326df7ad1 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Sat, 23 Jun 2012 22:31:27 +0000 Subject: [PATCH] scons: fixed a build issue where openGL was not being compiled in with some implementations on libgl --- SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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