On 27/03/2017 22:11, Stefan Weil wrote:
> * Support cross compilation with the most common cross prefixes
>   for Mingw-w64. Other cross builds are still broken!

Can you explain how it's broken?  Why does check_define not work at this
point, for cross builds?

"../configure --cross-prefix=x86_64-w64-mingw32-" seems to work for me.

Paolo

> +if test "$cross_prefix" = "i686_64-w64-mingw32-" ; then
> +  targetos='MINGW32'
> +elif test "$cross_prefix" = "x86_64-w64-mingw32-" ; then
> +  targetos='MINGW32'
> +elif test -n "$cross_prefix" ; then
> +  targetos="$cross_prefix"
> +elif check_define __linux__ ; then
>    targetos="Linux"

Reply via email to