scons: Append x11 library path if linking x11 library.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
Vinson Lee
2012-11-16 23:35:42 -08:00
parent bf75a1f092
commit f884005771
3 changed files with 3 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ env.Append(CPPPATH = [
env.Append(CPPDEFINES = ['USE_XSHM'])
env.Prepend(LIBS = env['X11_LIBS'])
env.Prepend(LIBPATH = env['X11_LIBPATH'])
# when GLES is enabled, gl* and _glapi_* belong to bridge_glapi and
# shared_glapi respectively