diff --git a/development/scons/SConstruct b/development/scons/SConstruct index 47d5a6c9bf..bca2d69b26 100644 --- a/development/scons/SConstruct +++ b/development/scons/SConstruct @@ -1790,14 +1790,15 @@ if build_tex2lyx: tex2lyx_env.Prepend(CPPPATH = ['$BUILDDIR/common/tex2lyx']) tex2lyx_env.AppendUnique(LIBPATH = ['#$LOCALLIBPATH']) - for file in ['FloatList.C', 'Floating.C', 'counters.C', 'lyxlayout.h', 'lyxlayout.C', + for file in ['FloatList.C', 'Floating.C', 'counters.C', 'gettext.h', 'gettext.C', + 'lyxlayout.h', 'lyxlayout.C', 'messages.h', 'messages.C', 'lyxtextclass.h', 'lyxtextclass.C', 'lyxlex.C', 'lyxlex_pimpl.C']: env.Command('$BUILDDIR/common/tex2lyx/'+file, '$TOP_SRCDIR/src/'+file, [Copy('$TARGET', '$SOURCE')]) tex2lyx = tex2lyx_env.Program( target = '$BUILDDIR/common/tex2lyx/tex2lyx', - LIBS = ['support'] + boost_libraries + system_libs, + LIBS = ['support'] + boost_libraries + intl_libs + system_libs, source = ['$BUILDDIR/common/tex2lyx/%s' % x for x in src_tex2lyx_files] ) Alias('tex2lyx', env.Command(os.path.join('$BUILDDIR', os.path.split(str(tex2lyx[0]))[1]), diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 493779a6de..92d244f80d 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -991,6 +991,7 @@ src_tex2lyx_header_files = Split(''' context.h gettext.h lyxfont.h + messages.h tex2lyx.h texparser.h ''') @@ -1010,6 +1011,7 @@ src_tex2lyx_files = Split(''' lyxlex_pimpl.C lyxtextclass.C math.C + messages.C preamble.C table.C tex2lyx.C