summaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/bin/elementary/meson.build9
-rw-r--r--src/lib/ecore/meson.build4
-rw-r--r--src/lib/eina/meson.build4
3 files changed, 14 insertions, 3 deletions
diff --git a/src/bin/elementary/meson.build b/src/bin/elementary/meson.build
index 1bad71570c..f31ed793e3 100644
--- a/src/bin/elementary/meson.build
+++ b/src/bin/elementary/meson.build
@@ -167,12 +167,15 @@ elementary_test_src = [
167 'test.h' 167 'test.h'
168] 168]
169 169
170link_args = []
170if sys_windows == false 171if sys_windows == false
171 link_args = ['-rdynamic', '-fPIC', '-pie'] 172 link_args += ['-rdynamic', '-fPIC']
172 package_c_args = package_c_args + ['-fPIC'] 173 package_c_args = package_c_args + ['-fPIC']
173else
174 link_args = []
175endif 174endif
175if sys_windows == false and sys_sun == false
176 link_args += ['-pie']
177endif
178
176elementary_test = executable('elementary_test', 179elementary_test = executable('elementary_test',
177 elementary_test_src, 180 elementary_test_src,
178 dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps, 181 dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
diff --git a/src/lib/ecore/meson.build b/src/lib/ecore/meson.build
index 0f72f4ba28..dfc2dece55 100644
--- a/src/lib/ecore/meson.build
+++ b/src/lib/ecore/meson.build
@@ -2,6 +2,10 @@ ecore_deps = []
2ecore_pub_deps = [eina, eo, efl] 2ecore_pub_deps = [eina, eo, efl]
3ecore_ext_deps = [intl, m, buildsystem] 3ecore_ext_deps = [intl, m, buildsystem]
4 4
5if sys_sun == true
6 ecore_deps += [malloc]
7endif
8
5pub_legacy_eo_files = [ 9pub_legacy_eo_files = [
6 'ecore_event_message.eo', 10 'ecore_event_message.eo',
7 'ecore_event_message_handler.eo', 11 'ecore_event_message_handler.eo',
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index 7aa1afa7ba..272c8fda82 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -7,6 +7,10 @@ if sys_windows == true
7 eina_pub_deps += [evil] 7 eina_pub_deps += [evil]
8endif 8endif
9 9
10if sys_sun == true
11 eina_deps += [socket]
12endif
13
10public_sub_headers = [ 14public_sub_headers = [
11'eina_promise.h', 15'eina_promise.h',
12'eina_safety_checks.h', 16'eina_safety_checks.h',