add extern link resource support