Created attachment 19822 [details] Patch Cross-compilation fails since version 9.53.0 and https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=3ff82b33f24ed54c2d3bb88ec31da7d2f9fd2765 Indeed, when x"$host" != x"$build", a recursive call to configure script (for auxiliary tools) is being made. In this call, --enable-auxtools_only and --without-libtiff are passed which will result in the following build failure because SHARE_LIBTIFF is not set and SHARE_LIBJPEG is set to 0: checking for local lcms2mt library source... configure: error: Mixing local libtiff with shared libjpeg not supported configure: error: Recursive call to configure script failed
I think I prefer the following: https://git.ghostscript.com/?p=user/chrisl/ghostpdl.git;a=commitdiff;h=f0d19bf181a1 It makes it more explicit what the reasoning is.
Indeed, your fix is a lot better than mine.
Fixed in: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=f0d19bf181a1 Thanks for spotting the problem.