summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-12-03 12:02:13 +0000
committerCarl Hetherington <cth@carlh.net>2012-12-03 12:02:13 +0000
commita0d277345aead40f53ea0aba01166d27b1cc31b3 (patch)
tree538cf2b326d2f6eace583990cea68035ea315122 /wscript
parentd968824110c032494b31f04cdb2551324e737bde (diff)
Use wxwidgets rescomp flags in the hope of fixing 64-bit theming.
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/wscript b/wscript
index fc5c80e29..4743165cd 100644
--- 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'])