Abort if library is missing

This commit is contained in:
TheAssassin
2018-08-11 15:30:06 +02:00
parent 55d524b136
commit 7184bcb61d
3 changed files with 21 additions and 6 deletions

View File

@@ -16,6 +16,12 @@ namespace linuxdeploy {
explicit ElfFileParseError(const std::string& msg) : std::runtime_error(msg) {}
};
// thrown by traceDynamicDependencies() if a dependency is missing
class DependencyNotFoundError : public std::runtime_error {
public:
explicit DependencyNotFoundError(const std::string& msg) : std::runtime_error(msg) {}
};
class ElfFile {
private:
class PrivateData;