<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">OK, I'm going to take a deep breath here... <br><br></div><div class="gmail_quote">The distributions policies against embedding libraries and statically linking code isn't some arbitrary policy. It's a hard-earned best practice that's been proven over and over.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">I get that it's "easier" to not work with others to solve problems and to basically do a soft-fork of the pjproject code and embed it into Asterisk and get it all set up "just so".<br><br></div><div class="gmail_quote">This is however, IMNHSO, short-sighted, anti-social behavior. Asterisk used to be pretty bad in this regard but recently has been much much better. I really don't want to see the clock turned back.<br></div><div class="gmail_quote"><br></div><div class="gmail_quote">My recommendations:<br><br></div><div class="gmail_quote">1) Work with the pjproject upstream to convert problematic compile-time options into runtime configurable options. That way multiple consumers of the library can get pjproject to work the way that they need it to without recompiling it.<br><br></div><div class="gmail_quote">2) If #1 isn't feasible, work with the pjproject upstream to set defaults for compile-time options that work better for Asterisk.<br><br></div><div class="gmail_quote">3) Add runtime instrumentation to pjproject so that Asterisk can determine if pjproject is configured correctly for use with Asterisk at runtime.<br><br></div><div class="gmail_quote">4) Work with the distro maintainers to get pjproject packaged with the compilation options that work best with Asterisk.<br><br></div><div class="gmail_extra">5) Write up good docs on how to compile pjproject from source for use with Asterisk for those folks that like to compile with source. Do your best to make sure that it's easily findable in Google searches, as well as linked to in the appropriate places from the Asterisk documentation.<br><br></div></div><div class="gmail_extra">-- <br><div class="gmail_signature">Jeff Ollie<br><br></div>
</div></div>