1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env python3 import subprocess, sys, platform # Meson does not yet support Studio cc on Solaris, only gcc or clang if platform.system() == 'SunOS': cc = 'gcc' else: cc = 'cc' subprocess.call([cc, "-DEXTERNAL_HOST"] + sys.argv[1:])