diff options
author | mmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 23:58:00 +0000 |
---|---|---|
committer | mmoss@chromium.org <mmoss@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-23 23:58:00 +0000 |
commit | a7791cf2c1c1f565c43a8cb0e337ea0b7ab72b9e (patch) | |
tree | 297c4aa3c00586ddd894ed320b667d8a17d565ab /chrome/third_party/hunspell/SConscript | |
parent | a07cbae73ef54a6c5c8877cffd3e80a581ea7d8d (diff) | |
download | chromium_src-a7791cf2c1c1f565c43a8cb0e337ea0b7ab72b9e.zip chromium_src-a7791cf2c1c1f565c43a8cb0e337ea0b7ab72b9e.tar.gz chromium_src-a7791cf2c1c1f565c43a8cb0e337ea0b7ab72b9e.tar.bz2 |
Multiple fixes for broken Linux SHARED=1 build. This gets things building, but the resulting 'chrome' binary crashes on start-up (test_shell seems to work better).
Review URL: http://codereview.chromium.org/27054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/third_party/hunspell/SConscript')
-rw-r--r-- | chrome/third_party/hunspell/SConscript | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/chrome/third_party/hunspell/SConscript b/chrome/third_party/hunspell/SConscript index 803d17b..c2155fe 100644 --- a/chrome/third_party/hunspell/SConscript +++ b/chrome/third_party/hunspell/SConscript @@ -106,13 +106,25 @@ input_files = ChromeFileList([ MSVSFilter('google', [ 'google/bdict.h', 'google/bdict_affentry.h', - 'google/bdict_reader.cc', 'google/bdict_reader.h', - 'google/bdict_writer.cc', 'google/bdict_writer.h', ]), ]) +if env.Bit('linux'): + bdict_reader_o = env.ChromeObject('google/bdict_reader.cc') + input_files.Append(bdict_reader_o) + bdict_writer_o = env.ChromeObject('google/bdict_writer.cc') + input_files.Append(bdict_writer_o) + Export('bdict_reader_o', 'bdict_writer_o') +else: + input_files.Append( + MSVSFilter('google', [ + 'google/bdict_reader.cc', + 'google/bdict_writer.cc', + ]), + ) + env.ChromeLibrary('hunspell', input_files) |