summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Frees <bertfrees@gmail.com>2016-07-23 13:01:31 +0200
committerBert Frees <bertfrees@gmail.com>2016-07-23 13:06:38 +0200
commit257e73c04252be5e2d1e1242f3c2e22be45cf8f7 (patch)
tree082a6be92209a083f404dc725ba04c50b0666b92
parent22772fc8c61cc646d1c4b2d68c0d9619411c587c (diff)
downloadhyphen-257e73c04252be5e2d1e1242f3c2e22be45cf8f7.tar.gz
Build DLL using cross-compilation
-rw-r--r--Makefile.am2
-rw-r--r--README6
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index a62a0e1..970bd76 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ SUBDIRS= doc tests
lib_LTLIBRARIES = libhyphen.la
libhyphen_la_SOURCES = hnjalloc.c hyphen.c
-libhyphen_la_LDFLAGS = -version-info 3:0:3
+libhyphen_la_LDFLAGS = -version-info 3:0:3 -no-undefined
include_HEADERS = hyphen.h
noinst_HEADERS = hnjalloc.h
diff --git a/README b/README
index 4b0815d..82c6127 100644
--- a/README
+++ b/README
@@ -71,6 +71,12 @@ to lowercase before hyphenation (under UTF-8 console environment):
cat mywords.txt | awk '{print tolower($0)}' >mywordslow.txt
+BUILD DLL USING CROSS-COMPILATION
+
+./configure --host i586-mingw32 --prefix=/tmp/hyphen-dll
+make
+make install
+
DEVELOPMENT
See README.hyphen for hyphenation algorithm, README.nonstandard