aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-08-03 19:07:35 -0700
committerChris Robinson <[email protected]>2016-08-03 19:07:35 -0700
commit48b954160ec5bffab04d072cdfd0685ca521c407 (patch)
treeb5b61857cc070090e6de5e7fc926fd3040c55845 /Alc/backends
parent3b2d8d394984da94fd286c5d57dfd68f22e2740b (diff)
Look for the correct DLL for JACK on Windows
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/jack.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/Alc/backends/jack.c b/Alc/backends/jack.c
index cfdc62e8..517f99a4 100644
--- a/Alc/backends/jack.c
+++ b/Alc/backends/jack.c
@@ -94,7 +94,12 @@ static ALCboolean jack_load(void)
#ifdef HAVE_DYNLOAD
if(!jack_handle)
{
- jack_handle = LoadLib("libjack.so.0");
+#ifdef _WIN32
+#define JACKLIB "libjack.dll"
+#else
+#define JACKLIB "libjack.so.0"
+#endif
+ jack_handle = LoadLib(JACKLIB);
if(!jack_handle)
return ALC_FALSE;