Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 373273 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
0
-- a/wafadmin/Tools/python.py
0
++ b/wafadmin/Tools/python.py
Lines 182-188 Link Here
182
		python_config=conf.find_program('python-config-%s'%('.'.join(env['PYTHON_VERSION'].split('.')[:2])),var='PYTHON_CONFIG')
182
		python_config=conf.find_program('python-config-%s'%('.'.join(env['PYTHON_VERSION'].split('.')[:2])),var='PYTHON_CONFIG')
183
	includes=[]
183
	includes=[]
184
	if python_config:
184
	if python_config:
185
		for incstr in Utils.cmd_output("%s %s --includes"%(python,python_config)).strip().split():
185
		for incstr in Utils.cmd_output("%s --includes"%(python_config)).strip().split():
186
			if(incstr.startswith('-I')or incstr.startswith('/I')):
186
			if(incstr.startswith('-I')or incstr.startswith('/I')):
187
				incstr=incstr[2:]
187
				incstr=incstr[2:]
188
			if incstr not in includes:
188
			if incstr not in includes:

Return to bug 373273