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".
pull/5380/head
Simon Ney 5 years ago committed by Jussi Pakkanen
parent 5ede0f5ef0
commit 81170a9cbe
  1. 3
      mesonbuild/compilers/compilers.py
  2. 3
      mesonbuild/mesonlib.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:

@ -344,6 +344,9 @@ class PerMachine(typing.Generic[_T]):
}[machine]
setattr(self, key, val)
def is_sunos() -> bool:
return platform.system().lower() == 'sunos'
def is_osx() -> bool:
return platform.system().lower() == 'darwin'

Loading…
Cancel
Save