diff --git a/meson.build b/meson.build index 5ddf7868b..f3ff3b4b8 100644 --- a/meson.build +++ b/meson.build @@ -115,7 +115,6 @@ check_funcs = [ 'funlockfile', 'getline', 'link', - 'strndup', 'fork', 'waitpid', 'raise', @@ -820,6 +819,8 @@ foreach name : check_funcs endif endforeach +conf.set('HAVE_STRNDUP', cc.has_function('strndup', prefix : '#include ')) + pthread_c_args = [] pthread_link_args = []