summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorKevin Hendricks <khendricks@openoffice.org>2001-09-11 10:30:16 +0000
committerKevin Hendricks <khendricks@openoffice.org>2001-09-11 10:30:16 +0000
commit7395b164cb6541a9da2aee53f063510947d07e1f (patch)
tree30ba17cb3dea46b69d545622b25885670c22d6ae /lingucomponent
parent61d5f57fba23a2a9cccb7848841c421629b19ee3 (diff)
fix makefile to use proper myspell lib name under WNT
Kevin
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/spell/makefile.mk14
1 files changed, 11 insertions, 3 deletions
diff --git a/lingucomponent/source/spellcheck/spell/makefile.mk b/lingucomponent/source/spellcheck/spell/makefile.mk
index 30d2300f9de9..a5e8c1e5c980 100644
--- a/lingucomponent/source/spellcheck/spell/makefile.mk
+++ b/lingucomponent/source/spellcheck/spell/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: khendricks $ $Date: 2001-09-08 15:55:44 $
+# last change: $Author: khendricks $ $Date: 2001-09-11 11:30:16 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -67,6 +67,14 @@ TARGET = spell
ENABLE_EXCEPTIONS=TRUE
USE_DEFFILE=TRUE
+.IF "$(MYSPELLLIB)"==""
+.IF "$(GUI)"=="UNX"
+MYSPELLLIB=-lmyspell
+.ENDIF # unx
+.IF "$(GUI)"=="WNT"
+MYSPELLLIB=myspell.lib
+.ENDIF # wnt
+.ENDIF
#----- Settings ---------------------------------------------------------
.INCLUDE : settings.mk
@@ -136,7 +144,7 @@ SHL1STDLIBS= \
$(UCBHELPERLIB) \
$(UNOTOOLSLIB) \
$(LNGLIB) \
- -lmyspell
+ $(MYSPELLLIB)
# build DLL