Attached is a proposed patch to enable the builtin lib rule to correctly handle

lib foo : : <conditional>@source-list-generator ;

It's a simple one-liner in tools/builtin.jam.

Cheers,
Mark