commit | 03583e8f3161836f2bef56f59a6f7bb2db25e61f | [log] [tgz] |
---|---|---|
author | Zach Johnson <zachoverflow@google.com> | Tue May 19 14:49:37 2015 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Mon Jun 08 01:28:55 2015 -0700 |
tree | 1dcf4a04471063bb1d75ac3c12a27ed946c28e3d | |
parent | 350b0b0d148ca9bf7cbf20018b47286165fa86e8 [diff] |
Build the shared library with --whole-archive For stack static libraries, use LOCAL_WHOLE_STATIC_LIBRARIES to ensure they get --whole-archive applied to them. This means module symbols in static libraries won't be removed by the linker and dlsym will find them. This patch also removes the code hacks we needed to trick the linker into including the module symbols in the final shared library. Change-Id: I2463d0e6fb38f1e75c8293179cf9d4ca33eda84e