mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-04-19 09:45:16 -05:00
Read ldd error message from both stdout and stderr
This commit is contained in:
@@ -162,7 +162,7 @@ namespace linuxdeploy {
|
||||
const auto result = lddProc.run();
|
||||
|
||||
if (result.exit_code() != 0) {
|
||||
if (result.stdout_string().find("not a dynamic executable") != std::string::npos) {
|
||||
if (result.stdout_string().find("not a dynamic executable") != std::string::npos || result.stderr_string().find("not a dynamic executable") != std::string::npos) {
|
||||
ldLog() << LD_WARNING << this->d->path << "is not linked dynamically" << std::endl;
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user