summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r--BuildTools/SCons/SConstruct8
1 files changed, 8 insertions, 0 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 2e8d1cb..5b88855 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -445,6 +445,14 @@ else :
openssl_conf.Finish()
+#Hunspell
+env["HAVE_HUNSPELL"] = 0;
+conf = Configure(conf_env.Clone())
+if conf.CheckLib("hunspell-1.3") :
+ env["HAVE_HUNSPELL"] = 1
+ env["HUNSPELL_FLAGS"] = {"LIBS": ["libhunspell-1.3"]}
+
+
# Bonjour
if env["PLATFORM"] == "darwin" :
env["HAVE_BONJOUR"] = 1