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 a90e13b4cb484e9ea057e0fade8ac741503ec9e4..4cd35fec646a304f90737ff3df3837feefd90c59 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