Please, remove the flag and always install both static and shared libraries (yeah, 0.4.0 is fine but this thing is slotted ;) http://marc.theaimsgroup.com/?l=gentoo-dev&m=116026024223024&w=2
Committed.