File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1791,6 +1791,7 @@ void ElfFile<ElfFileParamNames>::shrinkWrap()
1791
1791
1792
1792
std::string soname = matches.str (1 );
1793
1793
std::string location = matches.str (2 );
1794
+ debug (" Found %s => %s\n " , soname.c_str (), location.c_str ());
1794
1795
1795
1796
// if the ELF file has this soname, then merely replace it
1796
1797
if (std::find (needed.begin (), needed.end (), soname) != needed.end ()) {
@@ -1799,8 +1800,10 @@ void ElfFile<ElfFileParamNames>::shrinkWrap()
1799
1800
addNeededSet.insert (location);
1800
1801
}
1801
1802
}
1802
- addNeeded (addNeededSet);
1803
+
1804
+ // TODO: The order matters here. Why?
1803
1805
replaceNeeded (replaceNeededMap);
1806
+ addNeeded (addNeededSet);
1804
1807
}
1805
1808
1806
1809
template <ElfFileParams>
You can’t perform that action at this time.
0 commit comments