scons: gallium: link against nir as needed

... otherwise we'll produce uncomplete binaries with introduction of NIR
as alternative IR with next commits.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Emil Velikov 2016-05-16 18:55:08 +01:00 committed by Rob Clark
parent 265487aedf
commit 52addd90d1
5 changed files with 5 additions and 1 deletions

View file

@ -44,6 +44,7 @@ env.Prepend(LIBS = [
compiler,
mesa,
glsl,
nir,
gallium,
megadrivers_stub,
dri_common,

View file

@ -9,6 +9,7 @@ env.Prepend(LIBS = [
compiler,
mesa,
glsl,
nir,
gallium
])

View file

@ -50,7 +50,7 @@ if env['gles']:
opengl32 = env.SharedLibrary(
target ='opengl32',
source = sources,
LIBS = wgl + ws_gdi + glapi + compiler + mesa + drivers + gallium + glsl + env['LIBS'],
LIBS = wgl + ws_gdi + glapi + compiler + mesa + drivers + gallium + glsl + nir + env['LIBS'],
)
env.Alias('opengl32', opengl32)

View file

@ -32,6 +32,7 @@ env.Prepend(LIBS = [
compiler,
mesa,
glsl,
nir,
gallium,
])

View file

@ -17,6 +17,7 @@ env.Prepend(LIBS = [
gallium,
trace,
glsl,
nir,
mesautil,
softpipe
])