diff options
author | Vincent Torri <vincent.torri@gmail.com> | 2020-06-18 14:35:46 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-06-18 14:36:48 +0100 |
commit | f04316e3f0395e746b3047344d398ea281e0880e (patch) | |
tree | 4aa1a33b2dd87d47d63c8b3564561476ab69418c /header_checks | |
parent | fbd3bc626216694a1eb43bbe0462692c56b5b82e (diff) | |
download | efl-f04316e3f0395e746b3047344d398ea281e0880e.tar.gz |
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 'header_checks')
-rw-r--r-- | header_checks/meson.build | 7 |
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 = [ ['getxattr', ['sys/types.h', 'sys/xattr.h']], ['iconv', ['iconv.h']], ['listxattr', ['sys/types.h', 'sys/xattr.h']], - ['mallinfo', ['malloc.h']], ['malloc_info', ['malloc.h']], ['malloc_usable_size', ['malloc.h']], ['mkdirat', ['sys/stat.h']], @@ -114,6 +113,7 @@ function_checks = [ ['dlopen', ['dlfcn.h'], ['dl']], ['dlsym', ['dlfcn.h'], ['dl']], ['lround', ['math.h'], ['m']], + ['mallinfo', ['malloc.h'], ['malloc']], ['shm_open', ['sys/mman.h', 'sys/stat.h', 'fcntl.h'], ['rt']], #from here on we specify arguments ['splice', ['fcntl.h'], [], '-D_GNU_SOURCE=1'], @@ -157,6 +157,11 @@ m = cc.find_library('m') dl = cc.find_library('dl', required: false) rt = cc.find_library('rt', required: false) +if sys_sun == true + malloc = cc.find_library('malloc', required: true) + socket = cc.find_library('socket', required: true) +endif + thread_dep = dependency('threads') #check for the headers |