In the ld_proxy, during wrapper creation we search the available library paths for those libraries listed in NEEDED, and recursively perform this search to locate all transitively needed libraries, producing a final library directory containing only those requested and nothing else. This same optimization is not implemented in, std.wrap(), leading binaries wrapped this way to carry extra unneeded references.
Mirror the logic from ld_proxy to optionally allow building optimized library paths from Tangram Typescript.
In the
ld_proxy
, during wrapper creation we search the available library paths for those libraries listed inNEEDED
, and recursively perform this search to locate all transitively needed libraries, producing a final library directory containing only those requested and nothing else. This same optimization is not implemented in,std.wrap()
, leading binaries wrapped this way to carry extra unneeded references.Mirror the logic from
ld_proxy
to optionally allow building optimized library paths from Tangram Typescript.