That's incorrect. The mo files should get a suffix, otherwise they won't
work. The autotools build system also adds the suffix for Windows builds.
Please test the attached patch. If it works, I will apply to 1.4.x and
the trunk.
Bo
Index: development/scons/SConstruct
===================================================================
--- development/scons/SConstruct (revision 14860)
+++ development/scons/SConstruct (working copy)
@@ -1269,7 +1269,7 @@
# the final link step needs stdc++ to succeed under mingw
# FIXME: shouldn't g++ automatically link to stdc++?
if use_vc:
- system_libs = ['shlwapi', 'shell32', 'advapi32', 'zdll']
+ system_libs = ['ole32', 'shlwapi', 'shell32', 'advapi32', 'zdll']
else:
system_libs = ['shlwapi', 'stdc++', 'z']
elif platform_name == 'cygwin' and env['X11']:
@@ -2067,7 +2067,7 @@
# ru.gmo ==> ru/LC_MESSAGES/lyxSUFFIX.mo
for gmo in gmo_files:
lan = os.path.split(str(gmo))[1].split('.')[0]
- dest_file = os.path.join(locale_dest_dir, lan, 'LC_MESSAGES',
'lyx' + version_suffix + '.mo')
+ dest_file = os.path.join(locale_dest_dir, lan, 'LC_MESSAGES',
'lyx' + program_suffix + '.mo')
env.InstallAs(dest_file, gmo)
Alias('install', dest_file)