Reviewed by hyatt, sfalken.
[WebKit-https.git] / WebKitTools / Scripts / webkitdirs.pm
index 48c45338751693d319b7a362c25b22f298e6b1b8..e7b4cad1b606a568fe13862b4678529d41dc46ca 100644 (file)
@@ -260,7 +260,11 @@ sub builtDylibPathForName
         return "$configurationProductDir/$framework.framework/Versions/A/$framework";
     }
     if (isCygwin()) {
-        return "$baseProductDir/$framework.intermediate/$configuration/$framework.intermediate/$framework.lib";
+        if ($framework eq "JavaScriptCore") {
+                return "$baseProductDir/lib/$framework.lib";
+        } else {
+            return "$baseProductDir/$framework.intermediate/$configuration/$framework.intermediate/$framework.lib";
+        }
     }
     if (isQt()) {
         return "$baseProductDir/../../../$framework";