util.dependencies: Not finding our own libraries is fatal
authorMatthew Wild <mwild1@gmail.com>
Thu, 22 Jan 2009 14:33:02 +0000 (14:33 +0000)
committerMatthew Wild <mwild1@gmail.com>
Thu, 22 Jan 2009 14:33:02 +0000 (14:33 +0000)
util/dependencies.lua

index 601382df142cff91f536e5091bde081f7212f461..8fe6edba03c203025bd8074c2d4480a402944638 100644 (file)
@@ -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