summaryrefslogtreecommitdiff
path: root/header_checks
diff options
context:
space:
mode:
Diffstat (limited to 'header_checks')
-rw-r--r--header_checks/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/header_checks/meson.build b/header_checks/meson.build
index 955c0082f2..c71fdbf216 100644
--- a/header_checks/meson.build
+++ b/header_checks/meson.build
@@ -88,7 +88,6 @@ function_checks = [
88 ['getxattr', ['sys/types.h', 'sys/xattr.h']], 88 ['getxattr', ['sys/types.h', 'sys/xattr.h']],
89 ['iconv', ['iconv.h']], 89 ['iconv', ['iconv.h']],
90 ['listxattr', ['sys/types.h', 'sys/xattr.h']], 90 ['listxattr', ['sys/types.h', 'sys/xattr.h']],
91 ['mallinfo', ['malloc.h']],
92 ['malloc_info', ['malloc.h']], 91 ['malloc_info', ['malloc.h']],
93 ['malloc_usable_size', ['malloc.h']], 92 ['malloc_usable_size', ['malloc.h']],
94 ['mkdirat', ['sys/stat.h']], 93 ['mkdirat', ['sys/stat.h']],
@@ -114,6 +113,7 @@ function_checks = [
114 ['dlopen', ['dlfcn.h'], ['dl']], 113 ['dlopen', ['dlfcn.h'], ['dl']],
115 ['dlsym', ['dlfcn.h'], ['dl']], 114 ['dlsym', ['dlfcn.h'], ['dl']],
116 ['lround', ['math.h'], ['m']], 115 ['lround', ['math.h'], ['m']],
116 ['mallinfo', ['malloc.h'], ['malloc']],
117 ['shm_open', ['sys/mman.h', 'sys/stat.h', 'fcntl.h'], ['rt']], 117 ['shm_open', ['sys/mman.h', 'sys/stat.h', 'fcntl.h'], ['rt']],
118#from here on we specify arguments 118#from here on we specify arguments
119 ['splice', ['fcntl.h'], [], '-D_GNU_SOURCE=1'], 119 ['splice', ['fcntl.h'], [], '-D_GNU_SOURCE=1'],
@@ -157,6 +157,11 @@ m = cc.find_library('m')
157dl = cc.find_library('dl', required: false) 157dl = cc.find_library('dl', required: false)
158rt = cc.find_library('rt', required: false) 158rt = cc.find_library('rt', required: false)
159 159
160if sys_sun == true
161 malloc = cc.find_library('malloc', required: true)
162 socket = cc.find_library('socket', required: true)
163endif
164
160thread_dep = dependency('threads') 165thread_dep = dependency('threads')
161 166
162#check for the headers 167#check for the headers