libuuid_link_args += ['-Wl,--version-script=@0@'.format(libuuid_sym_path)]
endif
-thread_dep = dependency('threads')
-
lib_uuid = library(
'uuid',
list_h,
link_depends : libuuid_link_depends,
version : libuuid_version,
link_args : libuuid_link_args,
- dependencies : [socket_libs, thread_dep,
+ dependencies : [socket_libs, thread_libs,
build_libuuid ? [] : disabler()],
install : build_libuuid)
uuid_dep = declare_dependency(link_with: lib_uuid, include_directories: dir_libuuid)
endif
conf.set('HAVE_CLOCK_GETTIME', have ? 1 : false)
-thread_libs = dependency('threads')
+thread_libs = dependency('threads', required: false)
conf.set('HAVE_LIBPTHREAD', thread_libs.found() ? 1 : false)
have = cc.has_function('timer_create')
prefix : '#include <sys/socket.h>')
conf.set('HAVE_DECL_VMADDR_CID_LOCAL', have ? 1 : false)
-build_plymouth_support = (not build_plymouth_support.disabled() and
+build_plymouth_support = (not build_plymouth_support.disabled() and
have_tiocglcktrmios and
have_sock_cloexec and
have_sock_nonblock and