summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphajdan <phajdan.jr@gmail.com>2016-07-23 13:20:09 +0200
committerGitHub <noreply@github.com>2016-07-23 13:20:09 +0200
commite359ee4ddd8f942e78d9915861c8adbca5d4f873 (patch)
tree082a6be92209a083f404dc725ba04c50b0666b92
parent22772fc8c61cc646d1c4b2d68c0d9619411c587c (diff)
parent257e73c04252be5e2d1e1242f3c2e22be45cf8f7 (diff)
downloadhyphen-e359ee4ddd8f942e78d9915861c8adbca5d4f873.tar.gz
Merge pull request #8 from snaekobbi/windows-2
Build DLL using cross-compilation #2
-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