Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 367293
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/waflib/Tools/python.py
0
++ b/waflib/Tools/python.py
Lines 169-175 Link Here
169
		conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False)
169
		conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False)
170
	includes=[]
170
	includes=[]
171
	if conf.env.PYTHON_CONFIG:
171
	if conf.env.PYTHON_CONFIG:
172
		for incstr in conf.cmd_and_log(conf.env.PYTHON+[conf.env.PYTHON_CONFIG,'--includes']).strip().split():
172
		for incstr in conf.cmd_and_log([conf.env.PYTHON_CONFIG,'--includes']).strip().split():
173
			if(incstr.startswith('-I')or incstr.startswith('/I')):
173
			if(incstr.startswith('-I')or incstr.startswith('/I')):
174
				incstr=incstr[2:]
174
				incstr=incstr[2:]
175
			if incstr not in includes:
175
			if incstr not in includes:

Return to bug 367293