[asterisk-dev] [svn-commits] qwell: branch 1.2 r2962 - /branches/1.2/Makefile

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Aug 28 09:50:32 CDT 2007


On Tue, Aug 28, 2007 at 08:50:36AM -0500, Jason Parker wrote:
> Tzafrir Cohen wrote:
> > On Mon, Aug 27, 2007 at 09:38:49PM -0000, SVN commits to the Digium repositories wrote:
> >   
> >> Author: qwell
> >> Date: Mon Aug 27 16:38:48 2007
> >> New Revision: 2962
> >>
> >> URL: http://svn.digium.com/view/zaptel?view=rev&rev=2962
> >> Log:
> >> Make sure we build the static version of libtonezone
> >>  (and as a side-effect, all of the programs) with -fPIC
> >>     
> >
> > Wasn't it already built with -fPIC?
> >
> > (this is what LCFLAGS was for)
> >
> > Why build all utilities with -fPIC?
> >   
> LCFLAGS was only being applied to the shared object (libtonezone.so).
> 
> Also, we had to do the programs too, because some of them link in the 
> static libtonezone.

If it's statically-linked (e.g: ztcfg), which would you need there PIC
code? 

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list