Use wxwidgets rescomp flags in the hope of fixing 64-bit theming.
authorCarl Hetherington <cth@carlh.net>
Mon, 3 Dec 2012 12:02:13 +0000 (12:02 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 3 Dec 2012 12:02:13 +0000 (12:02 +0000)
wscript

diff --git a/wscript b/wscript
index fc5c80e29d51dcd80d445ba027c232dbace9da1e..4743165cd0bc8ee00d46910b8ce36f955ec50afa 100644 (file)
--- a/wscript
+++ b/wscript
@@ -26,6 +26,9 @@ def configure(conf):
 
     if conf.options.target_windows:
         conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN', '-DBOOST_USE_WINDOWS_H'])
+        wxrc = os.popen('wx-config --rescomp').read().split()[1:]
+        print wxrc
+        conf.env.append_value('WINRCFLAGS', wxrc)
         if conf.options.enable_debug:
             conf.env.append_value('CXXFLAGS', ['-mconsole'])
             conf.env.append_value('LINKFLAGS', ['-mconsole'])