Static linking freetype and FTGL

I recently started to use FTGL to display nice truetype for a HUD for my game.

FTGL itself works great. It looks good, performance is excellent, no problem.

The trouble is getting Xcode to statically link against the libs, so that the app is self-contained, and doesn't require users to install freetype!

I doscovered recently that Xcode was dynamically linking against libfreetype.dylib even though I had provided it with libfreetype.a

So, to fix this, my process was this: I built freetype on the command line but didn't install it -- so no headers or libs in /usr/local; and then rebuilt FTGL using the Xcode project, linking against the libfreetype.a in the freetype build folder.

Well, I already had /usr/lib/libz.dylib in my test project, but adding -lz did it! And a quick look at the output of otool tells me I'm set -- no dependencies outside of standard OS X libs and frameworks.