build: update waf to version 2.0.6
Major cleanup of all build scripts
Change-Id: I6904f034d40adc66366fdf08749900ffb31c68d9
diff --git a/.waf-tools/unix-socket.py b/.waf-tools/unix-socket.py
index 52e038a..07d1e9e 100644
--- a/.waf-tools/unix-socket.py
+++ b/.waf-tools/unix-socket.py
@@ -1,6 +1,6 @@
# -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
#
-# Copyright (c) 2014, Regents of the University of California
+# Copyright (c) 2014-2018, Regents of the University of California
#
# GPL 3.0 license, see the COPYING.md file for more information
@@ -15,8 +15,9 @@
def addUnixOptions(self, opt):
opt.add_option('--force-unix-socket', action='store_true', default=False,
- dest='force_unix_socket', help='''Forcefully enable Unix sockets support''')
-setattr(Options.OptionsContext, "addUnixOptions", addUnixOptions)
+ help='Forcefully enable Unix sockets support')
+
+setattr(Options.OptionsContext, 'addUnixOptions', addUnixOptions)
def configure(conf):
def boost_asio_has_local_sockets():
@@ -26,4 +27,4 @@
if conf.options.force_unix_socket or boost_asio_has_local_sockets():
conf.define('HAVE_UNIX_SOCKETS', 1)
- conf.env['HAVE_UNIX_SOCKETS'] = True
+ conf.env.HAVE_UNIX_SOCKETS = True