RFR: 7113349 JDK8 port to macosx
Henri Gomez
henri.gomez at gmail.com
Tue Feb 28 04:20:18 PST 2012
> --- old/make/tools/freetypecheck/Makefile 2012-02-27 17:21:24.000000000 +0000
> +++ new/make/tools/freetypecheck/Makefile 2012-02-27 17:21:24.000000000 +0000
> @@ -51,6 +51,9 @@
> FT_LD_OPTIONS += -Wl,-rpath -Wl,$(FREETYPE_LIB_PATH)
> else # other unix
> - FT_LD_OPTIONS += -R $(FREETYPE_LIB_PATH)
> + FT_LD_OPTIONS += -R$(FREETYPE_LIB_PATH)
> + ifeq ($(PLATFORM),macosx)
> + FT_LD_OPTIONS += -lz
> + endif
> endif
> FT_LD_OPTIONS += -lfreetype
> endif
FYI, jdk7u handle FreeType for OSX like this :
endif
else
FT_OPTIONS = $(CFLAGS)
FT_LD_OPTIONS = -L$(FREETYPE_LIB_PATH)
# Add runtime lib search path to ensure test will be runnable
ifeq ($(PLATFORM), solaris)
FT_LD_OPTIONS += -R $(FREETYPE_LIB_PATH) -lfreetype
else
ifeq ($(PLATFORM), macosx)
FT_LD_OPTIONS += -lfreetype -lz
else # linux
FT_LD_OPTIONS += -Wl,-rpath -Wl,$(FREETYPE_LIB_PATH) -lfreetype
endif
endif
More information about the macosx-port-dev
mailing list