Previously only -framework was used starting with 3.1.3 -weak_framework might also be used and has to be handled.