News for hackers. Stuff that matters.
Re:Is anyone actually using Xcode? by e4m on Tuesday May 12, 2009 @10:51AM (#605446)
Can anyone link statically in XCode? Why did Apple break static linking in ld?
Re:Is anyone actually using Xcode? by dchest on Wednesday May 13, 2009 @06:06AM (#606691)
Sure. Just get rid of .dylib (dynamic library) and use .a (static library). The difficult part is that Xcode will automatically use the first found .dylib in PATH instead of .a, so to workaround you should put .a in PATH before .dylib, or just rename .a to something else (libcrypto.a -> libcrypto-my.a) and link with renamed library.