mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-05 04:38:37 +00:00
Attempt to fix a Linux buildbot.
llvm-svn: 226127
This commit is contained in:
parent
24ebfcb619
commit
2b5a4fbc30
@ -218,7 +218,7 @@ findFile(ELFLinkingContext &ctx, StringRef path, bool dashL) {
|
||||
if (std::error_code ec = pathOrErr.getError())
|
||||
return make_dynamic_error_code(
|
||||
Twine("Unable to find library -l") + path + ": " + ec.message());
|
||||
path = pathOrErr->str();
|
||||
path = pathOrErr.get();
|
||||
}
|
||||
if (!llvm::sys::fs::exists(path))
|
||||
return make_dynamic_error_code(
|
||||
|
Loading…
Reference in New Issue
Block a user