summaryrefslogtreecommitdiff
path: root/source4/lib/socket_wrapper/SConscript
blob: 248922bcd7f9469684a1708a716fe378ee74599e (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.Library('socket_wrapper',['socket_wrapper.c'])
else:
	socket_wrapper = []