summaryrefslogtreecommitdiff
path: root/hunspell
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-10 20:50:26 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-10 20:50:26 +0100
commit438060cd27d23809006b805649fdc937ccde731a (patch)
treedbaf612192f1783be785db1ae8def7b91bb8e7dd /hunspell
parenta0c84cafa562960871d8d98f086fefacdb5c784f (diff)
Static defines when building static hunspell on Windows
Diffstat (limited to 'hunspell')
-rw-r--r--hunspell/hunspell-static.patch11
-rw-r--r--hunspell/makefile.mk1
2 files changed, 12 insertions, 0 deletions
diff --git a/hunspell/hunspell-static.patch b/hunspell/hunspell-static.patch
new file mode 100644
index 000000000000..08a23206255e
--- /dev/null
+++ b/hunspell/hunspell-static.patch
@@ -0,0 +1,11 @@
+--- misc/hunspell-1.3.1/src/hunspell/makefile.mk 2010-06-17 15:56:41.000000000 +0200
++++ misc/build/hunspell-1.3.1/src/hunspell/makefile.mk 2011-02-10 20:47:22.000000000 +0100
+@@ -39,7 +39,7 @@
+
+ # --- Files --------------------------------------------------------
+
+-CFLAGS+=-I..$/..$/
++CFLAGS+=-I..$/..$/ -DHUNSPELL_STATIC
+ CDEFS+=-DOPENOFFICEORG
+
+ SLOFILES= \
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index 88999ed00f57..a78dfbdc4f7b 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -41,6 +41,7 @@ TARFILE_MD5=9ed97fce60a9a65852402248a6659492
ADDITIONAL_FILES+=config.h
PATCH_FILES=\
+ hunspell-static.patch \
hunspell-wntconfig.patch \
hunspell-solaris.patch