diff options
Diffstat (limited to 'Build/source/libs/freetype2/Makefile.am')
-rw-r--r-- | Build/source/libs/freetype2/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/libs/freetype2/Makefile.am b/Build/source/libs/freetype2/Makefile.am index 39c931bb58b..49f9b63ef3a 100644 --- a/Build/source/libs/freetype2/Makefile.am +++ b/Build/source/libs/freetype2/Makefile.am @@ -31,10 +31,18 @@ ft-build/Makefile: $(abs_srcdir)/$(FREETYPE_TREE)/configure \ $(config_args) --disable-shared \ --with-old-mac-fonts \ - --with-zlib $(ZLIB_FLAGS_FOR_FREETYPE) \ + --without-zlib \ --prefix=$(abs_builddir)/ft-install \ --includedir=$(abs_builddir) +# On MacOSX, using our zlib from TL results in a .a that is unusable; ld +# warns "file is not of required architecture", and does not read it. +# There is no apparent reason for this. Using --without-zlib evidently +# causes freetype2 to use its internal zlib, so no functionality should +# be lost, even though it is not the cleanest solution. +# --with-zlib $(ZLIB_FLAGS_FOR_FREETYPE) \ +# + ## Unfortunately the FreeType build system installs the headers after the library; ## get our dependencies right we wait for a second and then touch the library. libfreetype.a: ft-build/Makefile $(ZLIB_DEPEND) |