xbase-config has an unexpanded SHARED_LD variable in it: $ xbase-config --ld @SHARED_LD@
Easy enough to fix, thanks for catching this one. Fix is checked into CVS, will rebuild when buildsystem comes alive again.