The install script will pick latest packages, it seems glm package doesn't embed the relevant pc file, thus breaking the further make commands.
It builds fine rolling back to glm-0.9.9.x, like so:
wget https://repo.msys2.org/mingw/mingw64/mingw-w64-x86_64-glm-0.9.9.8-2-any.pkg.tar.zst
pacman -U mingw-w64-x86_64-glm-0.9.9.8-2-any.pkg.tar.zst --noconfirm
The install script will pick latest packages, it seems glm package doesn't embed the relevant pc file, thus breaking the further make commands.
It builds fine rolling back to glm-0.9.9.x, like so: