mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-10-31 15:20:13 +00:00
Keep null_dep global
This commit is contained in:
parent
a045ae3b64
commit
d71dbdddbf
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user