On 09/05/2013 10:53 PM, Fam Zheng wrote: > OK. Thanks for pointing out. The problem with ar file is that --whole-archive > needs to be done specificly to modules .a, other libs shouldn't be linked with > this flag.
See also: --whole-archive foo.a --no-whole-archive r~