Make Xcode tell the compiler to not link to any library including the standard library?
How can I make 开发者_运维问答Xcode tell the compiler not to link?
I am making a library which may not link to anything. Where can I set in the target's properties that it must not link to the standard library, as I can choose static
or dynamic
only, there is no not
option.
You have Link With Standard Libraries checkbox in the same section of project properties (LINK_WITH_STANDARD_LIBRARIES). Just uncheck it.
精彩评论