aboutsummaryrefslogtreecommitdiffstats
path: root/src/talloc/SConscript
blob: 3bf7029bb2561885501fdaa8c621922d436adf07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Import('*')

if env['platform'] != 'windows':
    Return()

env = env.Clone()

talloc = env.SharedLibrary(
    target = 'talloc',
    source = ['talloc.c', 'talloc.def'],
)

env.InstallSharedLibrary(talloc)

if env['platform'] == 'windows':
    talloc = env.FindIxes(talloc, 'LIBPREFIX', 'LIBSUFFIX')
else:
    talloc = env.FindIxes(talloc, 'SHLIBPREFIX', 'SHLIBSUFFIX')

Export('talloc')