Merge pull request #8 from snaekobbi/windows-2

Build DLL using cross-compilation #2
This commit is contained in:
phajdan 2016-07-23 13:20:09 +02:00 committed by GitHub
commit e359ee4ddd
2 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@ SUBDIRS= doc tests
lib_LTLIBRARIES = libhyphen.la lib_LTLIBRARIES = libhyphen.la
libhyphen_la_SOURCES = hnjalloc.c hyphen.c 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 include_HEADERS = hyphen.h
noinst_HEADERS = hnjalloc.h noinst_HEADERS = hnjalloc.h

6
README
View File

@ -71,6 +71,12 @@ to lowercase before hyphenation (under UTF-8 console environment):
cat mywords.txt | awk '{print tolower($0)}' >mywordslow.txt 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 DEVELOPMENT
See README.hyphen for hyphenation algorithm, README.nonstandard See README.hyphen for hyphenation algorithm, README.nonstandard