Avoid using the old gyp lib in system
This commit is contained in:
parent
8e5a434560
commit
83ee7a464d
1 changed files with 4 additions and 0 deletions
|
@ -51,6 +51,10 @@ def run_gyp(target_arch, component):
|
|||
# Force using win32 python on cygwin.
|
||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||
gyp = os.path.join('vendor', 'brightray', 'vendor', 'gyp', 'gyp_main.py')
|
||||
gyp_pylib = os.path.join(os.path.dirname(gyp), 'pylib')
|
||||
# Avoid using the old gyp lib in system.
|
||||
env['PYTHONPATH'] = os.path.pathsep.join([gyp_pylib,
|
||||
env.get('PYTHONPATH', '')])
|
||||
defines = [
|
||||
'-Dlibchromiumcontent_component={0}'.format(component),
|
||||
'-Dtarget_arch={0}'.format(target_arch),
|
||||
|
|
Loading…
Reference in a new issue