aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/eg-sampler.lv2/wscript2
-rw-r--r--plugins/eg-scope.lv2/wscript2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript
index 9815920..554a75c 100644
--- a/plugins/eg-sampler.lv2/wscript
+++ b/plugins/eg-sampler.lv2/wscript
@@ -70,7 +70,7 @@ def build(bld):
obj.env.cshlib_PATTERN = module_pat
# Build UI library
- if bld.is_defined('HAVE_GTK2'):
+ if bld.env.HAVE_GTK2:
obj = bld(features = 'c cshlib',
source = 'sampler_ui.c',
name = 'sampler_ui',
diff --git a/plugins/eg-scope.lv2/wscript b/plugins/eg-scope.lv2/wscript
index 807d15d..a61af33 100644
--- a/plugins/eg-scope.lv2/wscript
+++ b/plugins/eg-scope.lv2/wscript
@@ -62,7 +62,7 @@ def build(bld):
obj.env.cshlib_PATTERN = module_pat
# Build UI library
- if bld.is_defined('HAVE_GTK2'):
+ if bld.env.HAVE_GTK2:
obj = bld(features = 'c cshlib',
source = 'examploscope_ui.c',
name = 'examploscope_ui',
href='#n129'>129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169