On Sunday 30 March 2008 09:53, Lukas Oboril wrote: > is other stuff from dude ok with that patch (except bdb) ? > > If there is an issue just in bdb, I would like to fix bdb instead of > revert that patch from libtool.
Here's what happens: in the BDB makefiles, CC is set to ./libtool --mode=compile cc ; this is set in the environment when SOLINK is used (./libtool --mode=link cc) and the environment setting of CC takes over, so for linking CC=libtool. That's why you get the two-stage build error. I'm not sure if that needs fixing when we generate the makefile or can be fixed by make -k followed by a sed on the Makefile and another make run to finish off the linking. Maybe it's enough to just set CC in the environment before calling configure. [ade]
