Gtk qmake build fix. Fix perl's complaint about an odd number of elements in anonymo...
[WebKit-https.git] / WebKitTools / Scripts / webkitdirs.pm
index 5d8fc852f6fe8f5e9fbee75defdc60ca798fbc51..ecebf94ddbb4f14085057452baf665cb9d470b5c 100644 (file)
@@ -859,8 +859,7 @@ sub buildGtkProject($$@)
     if ($ENV{WEBKITAUTOTOOLS}) {
         return buildAutotoolsProject($clean, @buildArgs);
     } else {
-        my @buildArgs = {"CONFIG+=gtk-port"};
-        push @buildArgs, "CONFIG-=qt";
+        my @buildArgs = ("CONFIG+=gtk-port", "CONFIG-=qt");
         return buildQMakeProject($clean, @buildArgs);
     }
 }