summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-18 06:11:39 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-18 06:11:39 +0000
commitae7b804956b6251d295a16e37812dc66c0ff9353 (patch)
treead244433be487fab2274f82dbefee6b767ab4cf8 /lingucomponent
parent1b39ef73fdeeae4681e7a5f0c65b74770d0951ca (diff)
#i90823# Add hunspell support for Mac OS X (patch by pjanik).
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/makefile.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/makefile.mk b/lingucomponent/source/spellcheck/macosxspell/makefile.mk
index 7af229e40f18..b422422fe0f0 100644
--- a/lingucomponent/source/spellcheck/macosxspell/makefile.mk
+++ b/lingucomponent/source/spellcheck/macosxspell/makefile.mk
@@ -8,7 +8,7 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.4 $
+# $Revision: 1.5 $
#
# This file is part of OpenOffice.org.
#
@@ -42,6 +42,14 @@ USE_DEFFILE=TRUE
.INCLUDE : settings.mk
+.IF "$(SYSTEM_HUNSPELL)" != "YES"
+HUNSPELL_CFLAGS += -I$(SOLARVER)$/$(INPATH)$/inc$/hunspell
+.ENDIF
+
+CXXFLAGS += $(HUNSPELL_CFLAGS)
+CFLAGSCXX += $(HUNSPELL_CFLAGS)
+CFLAGSCC += $(HUNSPELL_CFLAGS)
+
# --- Files --------------------------------------------------------
CFLAGSCXX += -I..$/..$/lingutil