summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'],