3bf7029bb2561885501fdaa8c621922d436adf07
[mesa.git] / src / talloc / SConscript
1 Import('*')
2
3 if env['platform'] != 'windows':
4 Return()
5
6 env = env.Clone()
7
8 talloc = env.SharedLibrary(
9 target = 'talloc',
10 source = ['talloc.c', 'talloc.def'],
11 )
12
13 env.InstallSharedLibrary(talloc)
14
15 if env['platform'] == 'windows':
16 talloc = env.FindIxes(talloc, 'LIBPREFIX', 'LIBSUFFIX')
17 else:
18 talloc = env.FindIxes(talloc, 'SHLIBPREFIX', 'SHLIBSUFFIX')
19
20 Export('talloc')