link file to the main lib file