]> granicus.if.org Git - libjpeg-turbo/commitdiff
Prevent "unmappable character" error in Java build
authorDRC <information@libjpeg-turbo.org>
Wed, 20 Sep 2017 16:52:48 +0000 (16:52 +0000)
committerDRC <information@libjpeg-turbo.org>
Wed, 20 Sep 2017 17:05:15 +0000 (17:05 +0000)
This was causing the build to fail when rebuilding libjpeg-turbo from
a source RPM.

configure.ac

index 92a65ffc776f03f0dfb2c9071ea3cb1a8f7c4798..af80ee5d6d3bc99a3ce7ddf545ae3e9455d14728 100644 (file)
@@ -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