summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladv@rosedu.org>2012-03-19 18:36:07 (GMT)
committervlad <vlad@tyrion.(none)>2012-10-13 13:55:45 (GMT)
commit5f745ebd56014a68695ac4b6fe7fb5dc96e34384 (patch)
tree284e1c2f9d41844dd17046d859d2c68225cfa1d6 /BuildTools
parentb3948434495a18df5c4537a2a6e0feecc0805788 (diff)
downloadswift-contrib-5f745ebd56014a68695ac4b6fe7fb5dc96e34384.zip
swift-contrib-5f745ebd56014a68695ac4b6fe7fb5dc96e34384.tar.bz2
Addressed Kev's code review
Diffstat (limited to 'BuildTools')
-rw-r--r--BuildTools/SCons/SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 79e2f6d..9964211 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -455,9 +455,9 @@ hunspell_env.MergeFlags(hunspell_flags)
env["HAVE_HUNSPELL"] = 0;
hunspell_conf = Configure(hunspell_env)
-if hunspell_conf.CheckCXXHeader("hunspell/hunspell.hxx") and hunspell_conf.CheckLib("hunspell-1.3") :
+if hunspell_conf.CheckCXXHeader("hunspell/hunspell.hxx") and hunspell_conf.CheckLib("hunspell") :
env["HAVE_HUNSPELL"] = 1
- hunspell_flags["LIBS"] = ["hunspell-1.3"]
+ hunspell_flags["LIBS"] = ["hunspell"]
env["HUNSPELL_FLAGS"] = hunspell_flags
hunspell_conf.Finish()