Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/17
16 lines
621 B
Diff
16 lines
621 B
Diff
diff --git a/meson.build b/meson.build
|
|
index 3b5b182c..4e400a52 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -328,7 +328,9 @@ data_config.set('top_builddir', meson.project_build_root())
|
|
threads = dependency('threads')
|
|
config.set(
|
|
'HAVE_MONOTONIC_CLOCK',
|
|
- cc.has_header_symbol('pthread.h', 'CLOCK_MONOTONIC', args: compile_args_c),
|
|
+ cc.has_header_symbol('pthread.h', 'CLOCK_MONOTONIC', args: compile_args_c)
|
|
+ and cc.has_header_symbol('pthread.h', 'pthread_condattr_setclock', args: compile_args_c)
|
|
+ and cc.has_header_symbol('time.h', 'clock_getres', args: compile_args_c),
|
|
)
|
|
|
|
glib = dependency(
|