summaryrefslogtreecommitdiffstats
path: root/src/gui/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/wscript')
-rw-r--r--src/gui/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/wscript b/src/gui/wscript
index 226a0d08..81965960 100644
--- a/src/gui/wscript
+++ b/src/gui/wscript
@@ -42,7 +42,7 @@ def build(bld):
ingen_gui.cpp
'''
- if bld.env['HAVE_CURL'] != 0:
+ if bld.is_defined('HAVE_CURL'):
obj.source += 'UploadPatchWindow.cpp'
obj.export_includes = ['.']