From d71dbdddbf14c1df3f897837835da0dbb0968624 Mon Sep 17 00:00:00 2001 From: jackun Date: Thu, 30 Jan 2020 19:52:15 +0200 Subject: [PATCH] Keep null_dep global --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 8b41defd..a0f3d9c7 100644 --- a/meson.build +++ b/meson.build @@ -28,6 +28,7 @@ project('mangohud', cc = meson.get_compiler('c') cpp = meson.get_compiler('cpp') prog_python = import('python').find_installation('python3') +null_dep = dependency('', required : false) pre_args = [ '-D__STDC_CONSTANT_MACROS', @@ -171,7 +172,6 @@ endforeach # check for dl support if cc.has_function('dlopen') - null_dep = dependency('', required : false) dep_dl = null_dep else dep_dl = cc.find_library('dl')