merge two libs.