diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-07-15 08:42:16 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-07-15 17:58:48 +0900 |
commit | 1d03102b319f7bca2bf76c5d6e3996dc87f03634 (patch) | |
tree | 6b7123544526642f96e307f22824c3a75b7dfe98 /src/gallium/state_trackers/python/SConscript | |
parent | 2c4349aa3ac9a6d5ee1f7b1aeb5eb0ee1cb54690 (diff) |
python: Allow hardware support.
Diffstat (limited to 'src/gallium/state_trackers/python/SConscript')
-rw-r--r-- | src/gallium/state_trackers/python/SConscript | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/python/SConscript b/src/gallium/state_trackers/python/SConscript index 687c46bfd7..b284d2020b 100644 --- a/src/gallium/state_trackers/python/SConscript +++ b/src/gallium/state_trackers/python/SConscript @@ -15,12 +15,19 @@ if 'python' in env['statetrackers']: env.Append(CPPPATH = '.') - env.SharedLibrary( - target = '_gallium', + pyst = env.ConvenienceLibrary( + target = 'pyst', source = [ 'gallium.i', 'st_device.c', 'st_softpipe_winsys.c', ], - LIBS = softpipe + auxiliaries + env['LIBS'], + ) + + env.SharedLibrary( + target = '_gallium', + source = [ + 'st_hardpipe_winsys.c', + ], + LIBS = [pyst, softpipe] + auxiliaries + env['LIBS'], ) |