summaryrefslogtreecommitdiffstats
path: root/buildtool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtool.cpp')
-rw-r--r--buildtool.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildtool.cpp b/buildtool.cpp
index bc6da92d3..b0570ed32 100644
--- a/buildtool.cpp
+++ b/buildtool.cpp
@@ -38,7 +38,7 @@
*
*/
-#define BUILDTOOL_VERSION "BuildTool v0.9.4"
+#define BUILDTOOL_VERSION "BuildTool v0.9.5"
#include <stdio.h>
#include <fcntl.h>
@@ -5407,7 +5407,11 @@ bool PkgConfig::query(const String &pkgName)
fname.append(".pc");
if (!readFile(fname))
+ {
+ error("Cannot find package '%s'. Do you have it installed?",
+ pkgName.c_str());
return false;
+ }
return true;
}