6 if env['toolchain'] == 'crossmingw':
7 # Cross-compilation not supported
10 if not env.Detect(['swig']):
18 env.Append(SWIGPATH = ['#src/gallium/include', '#src/gallium/include/pipe'])
19 env.Append(SWIGFLAGS = ['-python', '-keyword'])
21 env.Append(CPPPATH = '.')
23 if env['platform'] == 'windows':
32 env.Append(CPPDEFINES = ['GCC_HASCLASSVISIBILITY'])
42 'st_hardpipe_winsys.c',
43 'st_softpipe_winsys.c',
53 env.Append(CPPDEFINES = ['HAVE_LLVMPIPE'])
54 env.Prepend(LIBS = [llvmpipe])
56 env.Append(CPPDEFINES = ['HAVE_SOFTPIPE'])
57 env.Prepend(LIBS = [softpipe])
59 env['no_import_lib'] = 1
61 pyst = env.SharedLibrary(
66 env.Alias('python', pyst)