meson: add missing header files check
Fixes: https://github.com/karelzak/util-linux/issues/1318 Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
05cbd5aeed
commit
647f80e491
|
@ -301,6 +301,7 @@ AC_CHECK_HEADERS([ \
|
|||
inttypes.h \
|
||||
lastlog.h \
|
||||
libutil.h \
|
||||
linux/blkzoned.h \
|
||||
linux/btrfs.h \
|
||||
linux/capability.h \
|
||||
linux/cdrom.h \
|
||||
|
@ -382,8 +383,6 @@ AC_CHECK_HEADERS([security/pam_misc.h],
|
|||
#endif
|
||||
])
|
||||
|
||||
AC_CHECK_HEADERS([linux/blkzoned.h])
|
||||
|
||||
AC_CHECK_DECLS([BLK_ZONE_REP_CAPACITY], [], [], [
|
||||
#include <linux/blkzoned.h>
|
||||
])
|
||||
|
|
|
@ -4,8 +4,8 @@ project('util-linux', 'c',
|
|||
|
||||
pkgconfig = import('pkgconfig')
|
||||
|
||||
libblkid_version = '1.1.0'
|
||||
libblkid_date = '11-Dec-2019'
|
||||
libblkid_version = '1.1.0'
|
||||
libuuid_version = '1.3.0'
|
||||
libmount_version = '1.1.0'
|
||||
libsmartcols_version = '1.1.0'
|
||||
|
@ -156,8 +156,10 @@ headers = '''
|
|||
linux/compiler.h
|
||||
linux/falloc.h
|
||||
linux/fd.h
|
||||
linux/fs.h
|
||||
linux/fiemap.h
|
||||
linux/gsmmux.h
|
||||
linux/net_namespace.h
|
||||
linux/nsfs.h
|
||||
linux/raw.h
|
||||
linux/securebits.h
|
||||
linux/tiocl.h
|
||||
|
@ -195,6 +197,7 @@ headers = '''
|
|||
sys/types.h
|
||||
sys/ucred.h
|
||||
sys/un.h
|
||||
sys/xattr.h
|
||||
'''.split()
|
||||
|
||||
lib_m = cc.find_library('m')
|
||||
|
|
Loading…
Reference in New Issue