Yes, it works with Msys2, or at least as much as I tested it. I didn't know any better :)
My bad, the classic.c post was here: gbatemp.net/threads/latest-emulator-and-libogc-with-3rd-party-classic-controller.217245/page-35#post-4989135 I also have it in that zip file I attached.
I commented...