Hi!

I need to build freeswitch binary with as much as possible compiled-in libraries. But I faced with some problems:

1) Configure script does not allow static linking. At least running ./configure with LDFLAGS="-Wl,static -lssl -lcrypto -Wl,dynamic" produces binary that depends on libssl.so and libcrypto.so
2) How can I build it without dependencies on libpng, libsqlite, and libpq?

Thanks

--
-----------------
С уважением
Александр Николаичев
alexandr.nikolaichev@gmail.com