views:

10

answers:

1

Well, the title says it all: 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.

Can you help me, please? Thanks.

+1  A: 

You have Link With Standard Libraries checkbox in the same section of project properties (LINK_WITH_STANDARD_LIBRARIES). Just uncheck it.

Piotr Kalinowski