[BUG] SDL2_net 2.0.0 cross compile to MinGW-W64

While cross compiling to x86_64-w64-mingw32 (64-Bit MinGW) I noticed that it got installed in the wrong folder. The issue is that in line 67 of configure.ac it sais:

Code:
ac_default_prefix=/usr/local/cross-tools/i386-mingw32

That is clearly wrong, since that is the location for the 32-Bit build. The fix is trivial, by changing the line to:

Code:
ac_default_prefix=/usr/local/cross-tools/$host

it got installed as expected.

It think the entire line is odd, since it should normally pick the install location correctly.

I can provide a patch for this, the change seems so trivial…

Fixed, thanks!On Sat, Feb 1, 2014 at 11:15 AM, rioki <sean.farrell at rioki.org> wrote:

While cross compiling to x86_64-w64-mingw32 (64-Bit MinGW) I noticed
that it got installed in the wrong folder. The issue is that in line 67 of
configure.ac it sais:

Code:

ac_default_prefix=/usr/local/cross-tools/i386-mingw32

That is clearly wrong, since that is the location for the 32-Bit build.
The fix is trivial, by changing the line to:

Code:

ac_default_prefix=/usr/local/cross-tools/$host

it got installed as expected.

It think the entire line is odd, since it should normally pick the install
location correctly.

I can provide a patch for this, the change seems so trivial…


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org