summaryrefslogtreecommitdiff
path: root/source4/lib/socket_wrapper/SConscript
blob: ab08e3af732fde3a15b1a50e35be091d4c57b33b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 = []