summaryrefslogtreecommitdiff
path: root/Tools/Scripts/webkitdirs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/Scripts/webkitdirs.pm')
-rwxr-xr-xTools/Scripts/webkitdirs.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/Scripts/webkitdirs.pm b/Tools/Scripts/webkitdirs.pm
index afe4af015..45b6649a9 100755
--- a/Tools/Scripts/webkitdirs.pm
+++ b/Tools/Scripts/webkitdirs.pm
@@ -1910,6 +1910,11 @@ sub wrapperPrefixIfNeeded()
return ();
}
+sub shouldUseJhbuild()
+{
+ return ((isGtk() or isQt()) and -e getJhbuildPath());
+}
+
sub cmakeCachePath()
{
return File::Spec->catdir(baseProductDir(), configuration(), "CMakeCache.txt");