A patch to make poky only have static libs.