From 8f81769148eab0042ffb7192a702350275648715 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 28 Jan 2010 01:19:53 -0800 Subject: [PATCH] scons: Fix GLEW build on Mac OS X. --- src/glew/SConscript | 3 +++ 1 file changed, 3 insertions(+) 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'], -- 2.30.2