#1110508 jpeg-xl FTCBFS: depend on a foreign jdk

#1110508#5
Date:
2025-08-06 20:54:31 UTC
From:
To:
jpeg-xl fails to cross build from source, because its default-jdk
dependency requests a host architecture jdk, which cannot be run. Once
annotating it :native, the cross build succeeds.

While looking into this, I first tried cross building with the nojava
profile, but that happened to not work. The attached patch includes a
fix.

Please consider applying both in forky.

Helmut