aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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',