summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/windeployqt/elfreader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/windeployqt/elfreader.cpp b/src/windeployqt/elfreader.cpp
index b175e87d6..ab2242619 100644
--- a/src/windeployqt/elfreader.cpp
+++ b/src/windeployqt/elfreader.cpp
@@ -430,6 +430,8 @@ QList<QByteArray> ElfReader::dependencies()
dynamicData += sizeof(quint32); // past d_ptr.
const char *name = mapper.start + dynStrOffset + offset;
result.push_back(name);
+ } else {
+ dynamicData += m_elfData.elfclass == Elf_ELFCLASS64 ? 8 : 4;
}
}
return result;