[flext] autotools builders
gr at grrrr.org
Wed Mar 23 22:41:39 CET 2011
Hi, thanks a lot!
I modified minor things and it seems to work on OSX too.
It's in SVN now.
2011/3/22 dmotd <inaudible at simplesuperlativ.es>:
> hi thomas,
> i've found the issue with the flext builder not honouring the '--with-pic'
> flag, libtool itself wasn't responsible for static libraries so the flag had
> no effect. the fix is to let libtool do the building of the static libs as
> well as the shared ones.
> i've attatched a patch that does the job (minor changes to
> flext/source/Makefile.am). seems to be without side-effects.
> further reading:
>> 2011/3/21 dmotd<inaudible at simplesuperlativ.es>:
>>> one thing i've noticed is that the autotools script for flext itself is
>>> building PIC code until the libtool stage, this is with --with-pic and
>>> --enable-shared as configure options. what results is libraries with
>>> relocation errors when other libs try to link against them (pool/py). i
>>> get around this by manually forcing:
>>> CXXFLAGS="$CXXFLAGS -fPIC -DPIC" ./configure&& make
>>> which works as advertised. haven't tracked down the source of this
>>> any ideas?
More information about the flext