wscript typo.
[dcpomatic.git] / src / wx / wscript
index b4a6092a66b423d27cdb0f27245b3594e331fb58..bf7d2d1cf59dc0002e3afb0a1bf907968f8deb0c 100644 (file)
@@ -1,5 +1,5 @@
 def configure(conf):
-    if bld.env.TARGET_WINDOWS:
+    if conf.env.TARGET_WINDOWS:
         conf.check_cfg(package = '', atleast_version = '2.9.4', path = 'wx-config', args = '--cppflags --cxxflags --libs', uselib_store = 'WXWIDGETS', mandatory = True)
     else:
         conf.check_cfg(package = '', atleast_version = '2.8.12', path = 'wx-config', args = '--cppflags --cxxflags --libs', uselib_store = 'WXWIDGETS', mandatory = True)