There's a merged pull request on the void-packages repository mozjs60: honors sysroot when used in cross-compile https://github.com/void-linux/void-packages/pull/19056 Description: Preparing for cross-compiling gnome stuffs.