summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/wscript b/src/shared/wscript
index 067c1335..928a77f8 100644
--- a/src/shared/wscript
+++ b/src/shared/wscript
@@ -17,9 +17,9 @@ def build(bld):
Store.cpp
runtime_paths.cpp
'''
- if bld.env['HAVE_LIBLO'] == 1:
+ if bld.is_defined('HAVE_LIBLO'):
obj.source += ' OSCSender.cpp '
- if bld.env['HAVE_SOUP'] == 1:
+ if bld.is_defined('HAVE_SOUP'):
autowaf.use_lib(bld, obj, 'SOUP')
obj.source += ' HTTPSender.cpp '
obj.export_includes = ['.']