diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-05-24 16:12:41 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-05-24 16:12:41 -0700 |
commit | 2bc480a37a3be2a7ace105741ccf34bceb29332a (patch) | |
tree | 9ef6155bdffc821ea1ff0d101ebaf87cb3ba57a4 /lib/meson.build | |
parent | 9b6e15406bd83a722cb07ed37709d94308d9e22e (diff) | |
download | libfuse-2bc480a37a3be2a7ace105741ccf34bceb29332a.tar.gz |
lib/meson.build: don't crash if there's no libdl
For example, FreeBSD doesn't have it.
Fixes: #173.
Diffstat (limited to 'lib/meson.build')
-rw-r--r-- | lib/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/meson.build b/lib/meson.build index 287dc86..c583b85 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -17,7 +17,7 @@ if cfg.has('HAVE_ICONV') endif deps = [ thread_dep ] -libdl = meson.get_compiler('c').find_library('dl') +libdl = meson.get_compiler('c').find_library('dl', required: false) if libdl.found() deps += [ libdl ] endif |