From 1b385f37f3f166c046b6a73e7d3346eabd36ef76 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 20 Sep 2017 16:52:48 +0000 Subject: [PATCH] Prevent "unmappable character" error in Java build This was causing the build to fail when rebuilding libjpeg-turbo from a source RPM. --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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 -- 2.40.0