--- openal-soft-1.17.2/Alc/backends/portaudio.cpp.orig	2016-06-11 08:19:55 -0400
+++ openal-soft-1.17.2/Alc/backends/portaudio.cpp	2016-06-11 08:24:01 -0400
@@ -365,7 +365,11 @@
     if(!pa_handle)
     {
 #ifdef _WIN32
+#if defined(__MINGW32__)
+# define PALIB "libportaudio-2.dll"
+#else
 # define PALIB "portaudio.dll"
+#endif
 #elif defined(__APPLE__) && defined(__MACH__)
 # define PALIB "libportaudio.2.dylib"
 #elif defined(__OpenBSD__)
