[PATCH] Freetype Directory Bug On zLinux
Adam Farley8
adam.farley at uk.ibm.com
Fri Jan 12 14:24:21 UTC 2018
Hi All,
On zLinux, freetype's .so file is typically installed in
/usr/lib/s390x-linux-gnu, however the generated configure script doesn't
look for it there.
This causes configure to fail. I know you can avoid that with options, but
I think a fix would be better.
If we add this code to lib-freetype.m4 (line 365) and re-run autogen.sh,
this fixes the problem.
if test "x$FOUND_FREETYPE" != xyes; then
FREETYPE_BASE_DIR="$SYSROOT/usr"
if test "x$OPENJDK_TARGET_CPU_ARCH" = xs390; then
LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include],
[$FREETYPE_BASE_DIR/lib/s390x-linux-gnu], [well-known location])
fi
fi
Thoughts?
Best Regards
Adam Farley
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
More information about the build-dev
mailing list