From: DRC Date: Wed, 20 Sep 2017 16:52:48 +0000 (+0000) Subject: Prevent "unmappable character" error in Java build X-Git-Tag: 1.5.3~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b385f37f3f166c046b6a73e7d3346eabd36ef76;p=libjpeg-turbo Prevent "unmappable character" error in Java build This was causing the build to fail when rebuilding libjpeg-turbo from a source RPM. --- diff --git a/configure.ac b/configure.ac index 92a65ff..af80ee5 100644 --- a/configure.ac +++ b/configure.ac @@ -361,6 +361,7 @@ if test "x$JAVAC" = "x"; then fi AC_SUBST(JAVAC) AC_ARG_VAR(JAVACFLAGS, [Java compiler flags]) +JAVACFLAGS="$JAVACFLAGS -J-Dfile.encoding=UTF8" AC_SUBST(JAVACFLAGS) AC_ARG_VAR(JAR, [Java archive command (default: jar)]) if test "x$JAR" = "x"; then