diff options
Diffstat (limited to 'BuildTools/SCons')
-rw-r--r-- | BuildTools/SCons/SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/SCons/SConstruct b/BuildTools/SCons/SConstruct index 5b88855..669c599 100644 --- a/BuildTools/SCons/SConstruct +++ b/BuildTools/SCons/SConstruct @@ -448,9 +448,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 |