From: Vinson Lee Date: Thu, 28 Jan 2010 09:19:53 +0000 (-0800) Subject: scons: Fix GLEW build on Mac OS X. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f81769148eab0042ffb7192a702350275648715;p=mesa.git scons: Fix GLEW build on Mac OS X. --- diff --git a/src/glew/SConscript b/src/glew/SConscript index ce6e71e1570..45375e083a5 100644 --- a/src/glew/SConscript +++ b/src/glew/SConscript @@ -52,6 +52,9 @@ prog_env = env.Clone() prog_env.Prepend(LIBS = [glew]) +if prog_env['platform'] == 'darwin': + prog_env.Append(FRAMEWORKS = ['AGL']) + prog_env.Program( target = 'glewinfo', source = ['glewinfo.c'],