summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index e8467590df2..1c4200705f3 100644
--- a/meson.build
+++ b/meson.build
@@ -922,7 +922,7 @@ endif
if dep_m.found()
gl_priv_libs += '-lm'
endif
-if dep_dl.found()
+if dep_dl != [] and dep_dl.found()
gl_priv_libs += '-ldl'
endif