From: Michel Dänzer Date: Tue, 4 Mar 2008 17:30:12 +0000 (+0100) Subject: gallium: Make scons build gallivm before other auxiliary modules. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cd2623a53cb02b491c725f101ee70824ab26a12;p=mesa.git gallium: Make scons build gallivm before other auxiliary modules. This ensures that the gallivm symbols referenced by the draw module are resolved properly. --- diff --git a/src/gallium/SConscript b/src/gallium/SConscript index fa4833cbcf6..f09778ce999 100644 --- a/src/gallium/SConscript +++ b/src/gallium/SConscript @@ -9,6 +9,9 @@ auxiliaries = [] Export('auxiliaries') +if llvm: + SConscript(['auxiliary/gallivm/SConscript']) + SConscript([ # NOTE: order matters! 'auxiliary/util/SConscript', @@ -19,8 +22,5 @@ SConscript([ 'auxiliary/pipebuffer/SConscript', ]) -if llvm: - SConscript(['auxiliary/gallivm/SConscript']) - for driver in env['drivers']: SConscript(os.path.join('drivers', driver, 'SConscript'))