diff options
author | Jonathan Liu <net147@gmail.com> | 2013-05-17 00:20:36 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-20 17:23:48 +0200 |
commit | 185a6ea555f2e647a0971f9a98dcad3986202dbc (patch) | |
tree | abad77a4d8e1923733f26a0624cd0b99b387aa5e /Source/JavaScriptCore/API/JSStringRef.h | |
parent | f9f9277b9c39d4c34f23c99f5e4bbc5a56c3f3da (diff) | |
download | qtwebkit-185a6ea555f2e647a0971f9a98dcad3986202dbc.tar.gz |
Fix testing if program exists in PATH
https://bugs.webkit.org/show_bug.cgi?id=116216
Patch by Jonathan Liu <net147@gmail.com> on 2013-05-16
Reviewed by Jocelyn Turcotte.
functions.prf incorrectly uses win_cmd_shell to test whether to
add .exe to the executable name when checking if it exists in
the PATH environment variable. This works correctly when
building using Windows Command Prompt but not under MSYS shell.
To resolve this, check the win32 platform scope instead of
win_cmd_shell so that it correctly adds .exe to the executable
name on Windows regardless of the shell used when testing if
it exists in PATH.
* qmake/mkspecs/features/functions.prf:
Change-Id: Ide88521e4922da89ce49dc4bccbce790e753804e
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@150223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JSStringRef.h')
0 files changed, 0 insertions, 0 deletions