summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-28 01:19:53 -0800
committerVinson Lee <[email protected]>2010-01-28 01:19:53 -0800
commit8f81769148eab0042ffb7192a702350275648715 (patch)
treec2143990f7ba8e942bf011595d32e582f5e800ec /src
parent5dcc088bf16c8c4659e5e7c272ab226f0ed95d75 (diff)
scons: Fix GLEW build on Mac OS X.
Diffstat (limited to 'src')
-rw-r--r--src/glew/SConscript3
1 files changed, 3 insertions, 0 deletions
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'],