Luke Wallace, 16, of Barrachnie Road, Glasgow, suffered serious injuries in the attack close to Bannerman High School in Baillieston on 17 June.
Police said a post-mortem examination would take place and a report would be sent to the procurator fiscal.
A 17-year-old man has been arrested and charged over the incident.
A teenager has died a week after being stabbed in a lane next to a Glasgow school.