OSDN Git Service

scons: Append x11 library path if linking x11 library.
authorVinson Lee <vlee@freedesktop.org>
Sat, 17 Nov 2012 07:35:42 +0000 (23:35 -0800)
committerVinson Lee <vlee@freedesktop.org>
Thu, 22 Nov 2012 06:34:20 +0000 (22:34 -0800)
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
src/gallium/targets/graw-xlib/SConscript
src/gallium/targets/libgl-xlib/SConscript
src/mesa/drivers/x11/SConscript

index a535f31..9cbe7bb 100644 (file)
@@ -11,6 +11,7 @@ env.Prepend(LIBS = [
 ])
 
 env.Append(LIBS = env['X11_LIBS'])
+env.Append(LIBPATH = env['X11_LIBPATH'])
 
 env.Append(CPPPATH = [
     '#src/gallium/drivers',
index 1b92c30..dc1ce89 100644 (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
index cfa2815..984e6ce 100644 (file)
@@ -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,