Please, remove the flag and always install both static and shared libraries... http://marc.theaimsgroup.com/?l=gentoo-dev&m=116026024223024&w=2
fixed for Jakub's eternal pleasure :-)