cross static & shared