diff options
author | Rafael Roquetto <rafael.roquetto.qnx@kdab.com> | 2012-06-08 14:20:45 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-12 04:29:58 +0200 |
commit | 8839109abe672107e763ebaceeaaa16d5bd6eefc (patch) | |
tree | 12cc5dd5e55308d32aaa9ec64e5dbd029871c336 /src/network/socket | |
parent | 0fb84aa7a9ca3ff0bb96d6d7bb7b959d47c3ddcf (diff) |
Fix arch detection when cross compiling on Windows
When trying to detect the target architecture, configure.exe will look for a
file called 'arch.exe'. However, in some situations such as when
cross-compiling on a Windows host to a Unix host, and depending on the
toolchain being used, the output file generated by config.tests/arch may
simply be called "arch" instead of "arch.exe", causing configure.exe to fail.
This patches configure.exe to handle both naming schemes.
Change-Id: I5798f716d732388c707564d4d45c4887ab3d3d9f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/network/socket')
0 files changed, 0 insertions, 0 deletions