I just remembered another related case, the "Induc" virus which was infecting a library file from the Delphi distribution, and then every compiled program was infected. There were several pretty popular programs compiled on infected computers of the developers and spreaded by the world.
Related - http://cm.bell-labs.com/who/ken/trust.html