<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 22, 2016, at 6:16 AM, Alexandr Nikolaichev <<a href="mailto:alexandr.nikolaichev@gmail.com" class="">alexandr.nikolaichev@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi!<br class=""><br class="">I need to build freeswitch binary with as much as possible compiled-in libraries. But I faced with some problems:<br class=""><br class="">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<br class=""></div></div></blockquote><div><br class=""></div><div>I suspect that those are not available as static libs on the system?</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">2) How can I build it without dependencies on libpng, libsqlite, and libpq?<br class=""></div></div></blockquote><div><br class=""></div>don’t “need” libpng. You can force it not to use it by pushing the right things to autoconf or hiding the pc file, we don’t have an explicit configure arg to enable. video features won’t work without it</div><div>do need libsqlite, no option to build without</div><div>don’t need libpq unless you want explicit postgres support not through odbc</div><div><br class=""></div><div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(191, 191, 191); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">—disable-core-pgsql-support</span></div></div><br class=""><div class=""><br class=""></div></body></html>