progs: Include X11 headers and libraries in SCons build.
authorVinson Lee <vlee@vmware.com>
Mon, 5 Apr 2010 02:15:01 +0000 (19:15 -0700)
committerVinson Lee <vlee@vmware.com>
Mon, 5 Apr 2010 02:15:01 +0000 (19:15 -0700)
Fixes Mac OS X SCons build.

progs/SConscript

index a90e13b..4cd35fe 100644 (file)
@@ -24,6 +24,7 @@ if progs_env['platform'] == 'windows':
 if progs_env['platform'] == 'windows':
     progs_env.Prepend(LIBS = ['glu32', 'opengl32'])
 else:
+    progs_env.Tool('x11')
     progs_env.Prepend(LIBS = ['GLU', 'GL'])
 
 # Glut