summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2012-11-16 23:35:42 -0800
committerVinson Lee <[email protected]>2012-11-21 22:34:20 -0800
commitf8840057710041e2d43fddfe4ef9f392c475e129 (patch)
tree34bd4202ebcdf45c9783fbd1a8ddfb0029a44fcd /src/mesa
parentbf75a1f09211a9ca90b2ea3366b3331919793f9d (diff)
scons: Append x11 library path if linking x11 library.
Signed-off-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/x11/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/SConscript b/src/mesa/drivers/x11/SConscript
index cfa2815e297..984e6cef4e8 100644
--- a/src/mesa/drivers/x11/SConscript
+++ b/src/mesa/drivers/x11/SConscript
@@ -11,6 +11,7 @@ env.Append(CPPPATH = [
env.Append(CPPDEFINES = ['USE_XSHM'])
env.Prepend(LIBS = env['X11_LIBS'])
+env.Prepend(LIBPATH = env['X11_LIBPATH'])
env.Prepend(LIBS = [
glapi,