summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-21 11:37:50 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-21 11:37:50 +0000
commit9d283e1f5ed5b06dea2ff818daf4eff2a7e8cae5 (patch)
treee070c20bcb4e0da918be69799aae1bbe66d6d454 /wscript
parentfec9770dd454fdb6902180322fd3d221f2c86ed2 (diff)
Another attempt to fix i18n.
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index 4f81e4934..171b71181 100644
--- a/wscript
+++ b/wscript
@@ -22,11 +22,11 @@ def configure(conf):
conf.load('winres')
conf.env.append_value('CXXFLAGS', ['-D__STDC_CONSTANT_MACROS', '-msse', '-mfpmath=sse', '-ffast-math', '-fno-strict-aliasing',
- '-Wall', '-Wno-attributes', '-Wextra',
- '-DLOCALE_PREFIX="%s/share/locale"' % conf.env['PREFIX']])
+ '-Wall', '-Wno-attributes', '-Wextra'])
if conf.options.target_windows:
conf.env.append_value('CXXFLAGS', ['-DDVDOMATIC_WINDOWS', '-DWIN32_LEAN_AND_MEAN', '-DBOOST_USE_WINDOWS_H', '-DUNICODE'])
+ conv.env.append_value('CXXFLAGS', '-DLOCALE_PREFIX="../locale"')
wxrc = os.popen('wx-config --rescomp').read().split()[1:]
conf.env.append_value('WINRCFLAGS', wxrc)
if conf.options.enable_debug:
@@ -37,6 +37,7 @@ def configure(conf):
boost_thread = 'boost_thread_win32-mt'
else:
conf.env.append_value('CXXFLAGS', '-DDVDOMATIC_POSIX')
+ conf.env.append_value('CXXFLAGS', '-DLOCALE_PREFIX="%s/share/locale"' % conf.env['PREFIX'])
boost_lib_suffix = ''
boost_thread = 'boost_thread'
conf.env.append_value('LINKFLAGS', '-pthread')