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 6 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 paths = paths + ':' + padding
args.append('-Wl,-rpath,' + paths) args.append('-Wl,-rpath,' + paths)
if mesonlib.is_sunos():
return args
if get_compiler_is_linuxlike(self): if get_compiler_is_linuxlike(self):
# Rpaths to use while linking must be absolute. These are not # Rpaths to use while linking must be absolute. These are not
# written to the binary. Needed only with GNU ld: # written to the binary. Needed only with GNU ld:

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

Loading…
Cancel
Save