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.