mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 14:40:13 +01:00
scons: Append x11 library path if linking x11 library.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
parent
bf75a1f092
commit
f884005771
3 changed files with 3 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue