Author: Matti Picus <matti.pi...@gmail.com> Branch: py3.5 Changeset: r93862:759ae332758e Date: 2018-02-22 00:43 +0200 http://bitbucket.org/pypy/pypy/changeset/759ae332758e/
Log: hack to add externals to INCLUDE, LIB, BIN on windows diff --git a/pypy/tool/build_cffi_imports.py b/pypy/tool/build_cffi_imports.py --- a/pypy/tool/build_cffi_imports.py +++ b/pypy/tool/build_cffi_imports.py @@ -210,6 +210,10 @@ if key == '_ssl' and sys.platform == 'darwin': # needed for our roots patch env['LDFLAGS'] += ' -framework CoreFoundation -framework Security' + elif sys.platform == 'win32': + env['INCLUDE'] = r'..\externals\include;' + env.get('INCLUDE', '') + env['LIB'] = r'..\externals\lib;' + env.get('LIB', '') + env['PATH'] = r'..\externals\bin;' + env.get('PATH', '') try: status, stdout, stderr = run_subprocess(str(pypy_c), args, _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit