I want to build a static library that requires openssl for iPhone. It can't find include files from openssl. How should I tell the compiler where to look for those header files? Thanks.

EDIT: I'm trying to build librtmp for iPhone, for arm not for simulator. Just to test something. Im not building it from xcode. I think i have found [INCLUDE\_PATH](http://www.network-theory.co.uk/docs/gccintro/gccintro_23.html) , I'm going to try if it works.