blob: 1c0253a0d4eb9905fe00f2a8e576fc0b4a046d06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Import('hostenv')
opts = Options(None, ARGUMENTS)
opts.AddOptions(
BoolOption('socket_wrapper','enable socket wrapper',0)
)
opts.Update(hostenv)
if hostenv['socket_wrapper']:
hostenv.Append(CPPDEFINES = {'HAVE_SOCKET_WRAPPER': 1})
socket_wrapper = hostenv.StaticLibrary('socket_wrapper',['socket_wrapper.c'])
else:
socket_wrapper = []
|