gallium: Make scons build gallivm before other auxiliary modules.
authorMichel Dänzer <michel@tungstengraphics.com>
Tue, 4 Mar 2008 17:30:12 +0000 (18:30 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Tue, 4 Mar 2008 17:30:12 +0000 (18:30 +0100)
This ensures that the gallivm symbols referenced by the draw module are
resolved properly.

src/gallium/SConscript

index fa4833cbcf684d5ea9668bf938f15578cf591717..f09778ce999780d3fcce30b48a14c6fe65a7cdaf 100644 (file)
@@ -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'))