[flext] autotools builders

Thomas Grill 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.
gr~~~

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:
> http://sourceware.org/autobook/autobook/autobook_73.html
> http://www.freesoftwaremagazine.com/books/agaal/building_shared_libraries_once_using_autotools
>
> cheers,
> dmotd
>
>> 2011/3/21 dmotd<inaudible at simplesuperlativ.es>:
>>>
>>> one thing i've noticed is that the autotools script for flext itself is
>>> not
>>> 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
>>> can
>>> get around this by manually forcing:
>>>  CXXFLAGS="$CXXFLAGS -fPIC -DPIC" ./configure&&  make
>>> which works as advertised. haven't tracked down the source of this
>>> problem,
>>> any ideas?
>



-- 
Thomas Grill
http://grrrr.org


More information about the flext mailing list