On Feb 28, 2012, at 4:20 AM, Henri Gomez wrote: > 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
Good point. That's certainly more portable than my suggested change. — John
