summaryrefslogtreecommitdiff
path: root/src/bin
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/bin
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/bin')
-rw-r--r--src/bin/elementary/meson.build9
1 files changed, 6 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,