def exe_wrapper_def(self): try: which('wine') except subprocess.CalledProcessError: return "" else: return "exe_wrapper = 'wine'"
def binaries(self): return { k: which('{}-{}'.format(self.arch_full, v)) for k, v in (('CC', 'gcc'), ('CXX', 'g++'), ('AR', 'ar'), ('STRIP', 'strip'), ('WINDRES', 'windres'), ('RANLIB', 'ranlib'), ('PKGCONFIG', 'pkg-config')) }
def binaries(self): return { k: which(v) for k, v in (('CC', os.environ.get('CC', 'gcc')), ('CXX', os.environ.get('CXX', 'g++')), ('AR', 'ar'), ('STRIP', 'strip'), ('RANLIB', 'ranlib'), ('LD', 'ld')) }