From e916cfa76f4ce698506a2401a13e55cccf039c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=BB=D0=B8=D0=BF=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Thu, 16 Apr 2020 15:13:01 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@1043 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- utils/deploy_tool/main.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/deploy_tool/main.cpp b/utils/deploy_tool/main.cpp index 1de18457..e03c5a52 100644 --- a/utils/deploy_tool/main.cpp +++ b/utils/deploy_tool/main.cpp @@ -256,9 +256,11 @@ void procLdd(PIString file, bool ext_lib = false, int cur_depth = 0) { l.cutLeft(1).cutRight(1).trim(); if (l.isEmpty()) continue; if (!otool.isEmpty()) { - PIFile::FileInfo fi; - fi.path = l; - l = fi.name(); + if (!l.startsWith("/usr/local/opt")) { + PIFile::FileInfo fi; + fi.path = l; + l = fi.name(); + } } PIString flp = findLib(l); if (flp.isEmpty()) {