summaryrefslogtreecommitdiff
path: root/header_checks/meson.build
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-06-18 14:35:46 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-06-18 14:36:48 +0100
commitf04316e3f0395e746b3047344d398ea281e0880e (patch)
tree4aa1a33b2dd87d47d63c8b3564561476ab69418c /header_checks/meson.build
parentfbd3bc626216694a1eb43bbe0462692c56b5b82e (diff)
meson: add Solaris support
Summary: Add Solaris support for meson Test Plan: test on OpenIndiana Reviewers: raster, bu5hm4n, stefan_schmidt Reviewed By: raster, stefan_schmidt Subscribers: alarcher, stefan_schmidt, bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11973
Diffstat (limited to '')
-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