Dynamically linking Wiredtiger to MongoDB

Hi
I am trying to dynamically link a custom Wiredtiger compilation (with my changes) to mongoDB.
by default when compiling MongoDB using scons, Wiredtiger is statically linked.
I would be appreciate any help with instructions how to do so.
Many thanks,
Matan.