diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
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 <string.h>')) + pthread_c_args = [] pthread_link_args = [] |