summaryrefslogtreecommitdiff
path: root/libs/gtkmm2ext/wscript
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-09-30 16:22:04 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-09-30 16:22:04 +0000
commita6d7098797b31046d4b6d7e6ba40a508b6344ee6 (patch)
tree9f6e483ae4be4f647ffd9a4b5944466d8cb722c8 /libs/gtkmm2ext/wscript
parent050d3ab45ec5d597c47265962988019574d6e512 (diff)
more changes to wscript files to catch up with waf 1.6 and fix OS X issues
git-svn-id: svn://localhost/ardour2/branches/3.0@10176 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/gtkmm2ext/wscript')
-rw-r--r--libs/gtkmm2ext/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gtkmm2ext/wscript b/libs/gtkmm2ext/wscript
index 64f19e2d02..a07b33e8fe 100644
--- a/libs/gtkmm2ext/wscript
+++ b/libs/gtkmm2ext/wscript
@@ -91,13 +91,13 @@ def build(bld):
'-DPACKAGE="libgtkmm2ext"',
'-DLOCALEDIR="' + os.path.join(
os.path.normpath(bld.env['DATADIR']), 'locale') + '"']
- if bld.env['GTKOSX']:
+ if bld.is_defined('GTKOSX'):
obj.source += ['gtkapplication_quartz.mm']
else:
obj.source += ['gtkapplication_x11.c']
# i18n
- if bld.env['ENABLE_NLS']:
+ if bld.is_defined('ENABLE_NLS'):
mo_files = bld.path.ant_glob ('po/*.mo')
for mo in mo_files:
lang = os.path.basename (mo).replace ('.mo', '')