Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/auriamg/macdylibbundler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSCG82 <scg082+github@gmail.com>2020-01-02 22:15:44 +0300
committerSCG82 <scg082+github@gmail.com>2020-01-02 22:15:44 +0300
commit1571c0f736a67578b4444aa7c159e09d8d084904 (patch)
treead84ce5f26b8dd8cc016877a6774768db0e76a49
parent03485d74d2322a51e2bef60f28298e3a8aaeac55 (diff)
Fix mistake in mapping path of dependent file
-rw-r--r--src/DylibBundler.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DylibBundler.cpp b/src/DylibBundler.cpp
index 80d8e5a..90d3792 100644
--- a/src/DylibBundler.cpp
+++ b/src/DylibBundler.cpp
@@ -267,14 +267,12 @@ void collectSubDependencies()
// trim useless info, keep only library name
std::string dep_path = lines[n].substr(1, lines[n].rfind(" (") - 1);
- std::string full_path = dep_path;
if (isRpath(dep_path))
{
- full_path = searchFilenameInRpaths(dep_path);
- collectRpathsForFilename(full_path);
+ collectRpathsForFilename(searchFilenameInRpaths(dep_path));
}
- addDependency(dep_path, full_path);
+ addDependency(dep_path, original_path);
}//next
}//next