diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-22 14:33:02 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-22 14:33:02 +0000 |
commit | b20815e17becadec9ddb2f420bcec87773480190 (patch) | |
tree | ae60d4ce39187cb4b000903a8987d93d079388df /util/dependencies.lua | |
parent | 2627a5bc9ea6e08279389b543af35d486572aa31 (diff) | |
download | prosody-b20815e17becadec9ddb2f420bcec87773480190.tar.gz prosody-b20815e17becadec9ddb2f420bcec87773480190.zip |
util.dependencies: Not finding our own libraries is fatal
Diffstat (limited to 'util/dependencies.lua')
-rw-r--r-- | util/dependencies.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua index 601382df..8fe6edba 100644 --- a/util/dependencies.lua +++ b/util/dependencies.lua @@ -67,6 +67,7 @@ if not encodings then missingdep("util.encodings", { ["Windows"] = "Make sure you have encodings.dll from the Prosody distribution in util/"; ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/encodings.so"; }); + fatal = true; end local encodings = softreq "util.hashes" @@ -74,6 +75,7 @@ if not encodings then missingdep("util.hashes", { ["Windows"] = "Make sure you have hashes.dll from the Prosody distribution in util/"; ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/hashes.so"; }); + fatal = true; end if fatal then os.exit(1); end |