summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'BuildTools/SCons/SConstruct')
-rw-r--r--BuildTools/SCons/SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct
index 3f15695..ce3b020 100644
--- a/BuildTools/SCons/SConstruct
+++ b/BuildTools/SCons/SConstruct
@@ -421,9 +421,9 @@ openssl_conf.Finish()
#Hunspell
env["HAVE_HUNSPELL"] = 0;
conf = Configure(conf_env.Clone())
-if conf.CheckLib("hunspell-1.3") :
+if conf.CheckCXXHeader("hunspell/hunspell.hxx") and conf.CheckLib("hunspell-1.3") :
env["HAVE_HUNSPELL"] = 1
- env["HUNSPELL_FLAGS"] = {"LIBS": ["libhunspell-1.3"]}
+ env["HUNSPELL_FLAGS"] = {"LIBS": ["hunspell-1.3"]}
# Bonjour