summaryrefslogtreecommitdiffstats
path: root/src/talloc/SConscript
blob: a4861a932e5ba95c725c1419e91debbe1a6142c2 (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')