summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher R. Palmer <crpalmer@gmail.com>2015-11-15 14:26:32 -0500
committerChristopher R. Palmer <crpalmer@gmail.com>2015-11-15 14:26:32 -0500
commit9b6d9ca81013be18cb104b0e1587b503d70cca7c (patch)
tree5be4b79c6c48a1212f759d7c99a2a50b68489b36
parent5ffc0c975693345ce0eb829b9faa3c50173730ed (diff)
downloadbionic-9b6d9ca81013be18cb104b0e1587b503d70cca7c.zip
bionic-9b6d9ca81013be18cb104b0e1587b503d70cca7c.tar.gz
bionic-9b6d9ca81013be18cb104b0e1587b503d70cca7c.tar.bz2
linker: Fix the fact that shim libs do not properly call constructors
Change-Id: I34333e13443a154e675b853fa41442351bc4243a
-rw-r--r--linker/linker.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp
index 146937a..daaa502 100644
--- a/linker/linker.cpp
+++ b/linker/linker.cpp
@@ -970,6 +970,7 @@ static bool walk_dependencies_tree(soinfo* root_soinfos[], size_t root_soinfos_s
});
if (!shim_libs_for_each(si->get_realpath(), [&](soinfo* child) {
+ si->add_child(child);
visit_list.push_back(child);
})) {
return false;