Fix spell check on OSX
This commit is contained in:
parent
e5f7441bae
commit
1265eee9e5
@ -20,6 +20,13 @@
|
|||||||
${prefix}/lib/hexchat/plugins/*.so
|
${prefix}/lib/hexchat/plugins/*.so
|
||||||
</binary>
|
</binary>
|
||||||
|
|
||||||
|
<binary>
|
||||||
|
${prefix}/lib/libenchant.dylib
|
||||||
|
</binary>
|
||||||
|
<data>
|
||||||
|
${prefix}/share/myspell/dicts
|
||||||
|
</data>
|
||||||
|
|
||||||
<binary dest="${bundle}/Contents/MacOS">
|
<binary dest="${bundle}/Contents/MacOS">
|
||||||
${prefix}/bin/python
|
${prefix}/bin/python
|
||||||
</binary>
|
</binary>
|
||||||
|
@ -162,8 +162,14 @@ initialize_enchant ()
|
|||||||
{
|
{
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
enchant = g_module_open("libenchant.so.1", 0);
|
enchant = g_module_open("libenchant.so.1", 0);
|
||||||
if (enchant == NULL)
|
if (enchant == NULL)
|
||||||
return;
|
{
|
||||||
|
#ifdef __APPLE__
|
||||||
|
enchant = g_module_open("libenchant.dylib", 0);
|
||||||
|
if (enchant == NULL)
|
||||||
|
#endif
|
||||||
|
return;
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user