Author: Matti Picus <matti.pi...@gmail.com> Branch: Changeset: r97430:38e941ce6bc8 Date: 2019-09-11 09:04 +0300 http://bitbucket.org/pypy/pypy/changeset/38e941ce6bc8/
Log: only embed on darwin (backport from py3.6) diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py --- a/pypy/goal/targetpypystandalone.py +++ b/pypy/goal/targetpypystandalone.py @@ -350,8 +350,12 @@ def task_build_cffi_imports(self): ''' Use cffi to compile cffi interfaces to modules''' filename = os.path.join(pypydir, 'tool', 'build_cffi_imports.py') + if sys.platform == 'darwin': + argv = [filename, '--embed-dependencies'] + else: + argv = [filename,] status, out, err = run_subprocess(str(driver.compute_exe_name()), - [filename, '--embed-dependencies']) + argv) sys.stdout.write(out) sys.stderr.write(err) # otherwise, ignore errors _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit