New comment by misuchiru03 on void-packages repository https://github.com/void-linux/void-packages/pull/39754#issuecomment-1270436561 Comment: If the package is built natively, it is fine as is. There is a `build.ninja` that expects the file to build natively and the cross build places the built files in a different location so cross builds fail. I have added a check for Cross Build only to make sure it finds the file properly and cross builds built fine on my system.