aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cubeb_jack.cpp
diff options
context:
space:
mode:
authorivan-matveev <[email protected]>2022-08-22 19:21:58 +0300
committerPaul Adenot <[email protected]>2022-09-06 14:38:56 +0200
commitd93c82fdd28c681fd1579944cc1c240d242c4c4b (patch)
tree469ee37774fadc2f18866aa546fec5944ff82c87 /src/cubeb_jack.cpp
parentdc511c6b3597b6384d28949285b9289e009830ea (diff)
downloadcubeb-d93c82fdd28c681fd1579944cc1c240d242c4c4b.tar.gz
cubeb-d93c82fdd28c681fd1579944cc1c240d242c4c4b.zip
Add #ifndef around dlclose() to allow build with "LAZY_LOAD_LIBS=OFF" cmake argument.
Diffstat (limited to 'src/cubeb_jack.cpp')
-rw-r--r--src/cubeb_jack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cubeb_jack.cpp b/src/cubeb_jack.cpp
index 3b3056c..28ca67c 100644
--- a/src/cubeb_jack.cpp
+++ b/src/cubeb_jack.cpp
@@ -788,10 +788,10 @@ cbjack_destroy(cubeb * context)
if (context->jack_client != NULL)
WRAP(jack_client_close)(context->jack_client);
-
+#ifndef DISABLE_LIBJACK_DLOPEN
if (context->libjack)
dlclose(context->libjack);
-
+#endif // DISABLE_LIBJACK_DLOPEN
free(context);
}