diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 14b9616f92..c2916d5fb9 100644 --- a/meson.build +++ b/meson.build @@ -327,7 +327,7 @@ endif features += {'ta-leak-report': get_option('ta-leak-report')} libdl_dep = cc.find_library('dl', required: false) -features += {'libdl': libdl_dep.found() and cc.has_function('dlopen', dependencies: libdl_dep, prefix: '#include <dlfcn.h>')} +features += {'libdl': cc.has_function('dlopen', dependencies: libdl_dep, prefix: '#include <dlfcn.h>')} if features['libdl'] dependencies += libdl_dep endif |