aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorSimon Ney <simon.ney@kommunikator-gmbh.com>2019-05-12 03:36:36 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-05-13 02:42:56 +0300
commit81170a9cbed4106cbb8129a5991ad52451d29275 (patch)
tree8922462b4482f560dd77e6e1a166836eaa14c010 /mesonbuild/compilers/compilers.py
parent5ede0f5ef0ce5ec13e100e737be4ccbc66c3dc41 (diff)
downloadmeson-81170a9cbed4106cbb8129a5991ad52451d29275.zip
meson-81170a9cbed4106cbb8129a5991ad52451d29275.tar.gz
meson-81170a9cbed4106cbb8129a5991ad52451d29275.tar.bz2
This is the fork "sneyx1234/meson" of the current git "mesonbuild/meson" head to converge it to the solaris 11.4 platform based on the sparcv9 and i386 processor architecture.
The purpose is to complete the porting related to the fork "sneyx1234/ast" of "att/ast" the "AT&T kornshell".
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
-rw-r--r--mesonbuild/compilers/compilers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/compilers.py b/mesonbuild/compilers/compilers.py
index a3401e8..bafb023 100644
--- a/mesonbuild/compilers/compilers.py
+++ b/mesonbuild/compilers/compilers.py
@@ -1307,6 +1307,9 @@ class Compiler:
paths = paths + ':' + padding
args.append('-Wl,-rpath,' + paths)
+ if mesonlib.is_sunos():
+ return args
+
if get_compiler_is_linuxlike(self):
# Rpaths to use while linking must be absolute. These are not
# written to the binary. Needed only with GNU ld: