This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Freetype on cygwin link...
- From: "Gerrit P. Haase" <gerrit at familiehaase dot de>
- To: Daniel Blueman <daniel dot blueman at gmx dot net>
- Cc: cygwin-xfree at cygwin dot com
- Date: Fri, 11 Jul 2003 13:16:20 +0200
- Subject: Re: Freetype on cygwin link...
- Organization: Esse keine toten Tiere
- References: <153-1890463843.20030711123030@familiehaase.de><24477.1057921002@www68.gmx.net>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: "Gerrit P. Haase" <gerrit at familiehaase dot de>
Daniel schrieb:
> Any takers?
> This sounds like a bit of delicate work!
No, it isn't. The patch includes changes to the files used by autoconf
and libtool. Source changes are minimal, here they are. Apply these
and change to the dirctory with configure.in and ltmain.sh and run:
autoreconf --verbose --install --force which should end up with s.th.
like the full patch includes (new aclocal.m4 file, new configure, new
ltmain.sh) and then libtool-1.5 builds automatically the DLL (because of
the -no-undefined flag, see below). FreeType is just a little more
complex than packages that are using automake.
diff -urdb freetype-2.1.4~/builds/unix/unix-cc.in freetype-2.1.4/builds/unix/unix-cc.in
--- freetype-2.1.4~/builds/unix/unix-cc.in 2002-12-23 23:40:21.000000000 +0100
+++ freetype-2.1.4/builds/unix/unix-cc.in 2003-06-06 11:57:52.000000000 +0200
@@ -78,7 +78,7 @@
# Library linking
#
LINK_LIBRARY = $(LIBTOOL) --mode=link $(CCraw) -o $@ $(OBJECTS_LIST) \
- -rpath $(libdir) -version-info $(version_info) \
+ -rpath $(libdir) -no-undefined -version-info $(version_info) \
$(LDFLAGS)
# EOF
diff -urdb freetype-2.1.4~/include/freetype/config/ftoption.h freetype-2.1.4/include/freetype/config/ftoption.h
--- freetype-2.1.4~/include/freetype/config/ftoption.h 2003-01-31 00:24:18.000000000 +0100
+++ freetype-2.1.4/include/freetype/config/ftoption.h 2003-06-06 12:40:45.000000000 +0200
@@ -378,7 +378,7 @@
/* do not #undef this macro here, since the build system might */
/* define for certain configurations */
/* */
-/* #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER */
+#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER
/*************************************************************************/
diff -urdb freetype-2.1.4~/src/base/ftbase.c freetype-2.1.4/src/base/ftbase.c
--- freetype-2.1.4~/src/base/ftbase.c 2002-03-30 14:16:33.000000000 +0100
+++ freetype-2.1.4/src/base/ftbase.c 2003-06-06 12:41:31.000000000 +0200
@@ -29,6 +29,7 @@
#include "ftgloadr.c"
#include "ftobjs.c"
#include "ftnames.c"
+#include "ftapi.c"
/* END */
--
=^..^=