diff options
-rw-r--r-- | src/socket/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket/wscript b/src/socket/wscript index 6db7cea2..1ebc9f4c 100644 --- a/src/socket/wscript +++ b/src/socket/wscript @@ -2,7 +2,7 @@ from waflib.extras import autowaf as autowaf def build(bld): - if bld.env.HAVE_SOCKET: + if bld.is_defined('HAVE_SOCKET'): obj = bld(features = 'cxx cxxshlib', source = ['SocketReader.cpp', 'SocketWriter.cpp', |