[pypy-commit] pypy py3.5: hack to add externals to INCLUDE, LIB, BIN on windows
mattip
pypy.commits at gmail.com
Wed Feb 21 17:43:25 EST 2018
Author: Matti Picus <matti.picus at 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,
More information about the pypy-commit
mailing list