clang static libraries circular dependency.


With clang 3.5 update, there are a bunch of linker errors when using clang static libraries and I have figured out there are circular dependency between the static libraries and the libraries need to be specified in a specific order. Can someone help me get the correct order of these static libraries? I have used –start-group , --end-group linker flags but turns out it is an expensive solution.