|
|
@ -28,6 +28,7 @@ project('mangohud',
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
cc = meson.get_compiler('c')
|
|
|
|
cpp = meson.get_compiler('cpp')
|
|
|
|
cpp = meson.get_compiler('cpp')
|
|
|
|
prog_python = import('python').find_installation('python3')
|
|
|
|
prog_python = import('python').find_installation('python3')
|
|
|
|
|
|
|
|
null_dep = dependency('', required : false)
|
|
|
|
|
|
|
|
|
|
|
|
pre_args = [
|
|
|
|
pre_args = [
|
|
|
|
'-D__STDC_CONSTANT_MACROS',
|
|
|
|
'-D__STDC_CONSTANT_MACROS',
|
|
|
@ -171,7 +172,6 @@ endforeach
|
|
|
|
|
|
|
|
|
|
|
|
# check for dl support
|
|
|
|
# check for dl support
|
|
|
|
if cc.has_function('dlopen')
|
|
|
|
if cc.has_function('dlopen')
|
|
|
|
null_dep = dependency('', required : false)
|
|
|
|
|
|
|
|
dep_dl = null_dep
|
|
|
|
dep_dl = null_dep
|
|
|
|
else
|
|
|
|
else
|
|
|
|
dep_dl = cc.find_library('dl')
|
|
|
|
dep_dl = cc.find_library('dl')
|
|
|
|