diff options
Diffstat (limited to 'Tools/Scripts/build-jsc')
-rwxr-xr-x | Tools/Scripts/build-jsc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Tools/Scripts/build-jsc b/Tools/Scripts/build-jsc index c9d4134..bdabd5a 100755 --- a/Tools/Scripts/build-jsc +++ b/Tools/Scripts/build-jsc @@ -69,8 +69,12 @@ if (isAppleMacWebKit()) { $result = buildVisualStudioProject("JavaScriptCore.vcproj/JavaScriptCore.sln"); } elsif (isGtk()) { $result = buildGtkProject("JavaScriptCore"); -} elsif (isQt() or isWx()) { - # Qt builds everything in one-shot. No need to build anything here. +} elsif (isQt()) { + # Remove duplicated --qt options to avoid passing them to qmake + checkForArgumentAndRemoveFromARGV("--qt"); + $result = buildQMakeProject("JavaScriptCore", 0, @ARGV); +} elsif (isWx()) { + # Builds everything in one-shot. No need to build anything here. $result = 0; } else { die "Building not defined for this platform!\n"; |