diff --git a/deploy_tool/main.cpp b/deploy_tool/main.cpp index 905cfb1..5af606a 100644 --- a/deploy_tool/main.cpp +++ b/deploy_tool/main.cpp @@ -144,6 +144,13 @@ void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) { PIString l = sl.trimmed(); if (!otool.isEmpty()) { if (l.contains(".framework/")) { + PIStringList ll = l.split("/"); + piForeachRC (PIString & _f, ll) { + if (_f.endsWith(".framework")) { + l = _f; + piBreak; + } + } frameworks << l; if (l.contains("QtCore") || l.contains("Qt5Core")) need_qt = true;