aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-cairo/pycairo-1.10.0-waf-py3_4.patch
blob: 29a4d8b6a117427f55667bea93485808f729bf76 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/waflib/Tools/python.py.orig
+++ b/waflib/Tools/python.py
@@ -169,7 +169,7 @@
 		conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False)
 	includes=[]
 	if conf.env.PYTHON_CONFIG:
-		for incstr in conf.cmd_and_log(conf.env.PYTHON+[conf.env.PYTHON_CONFIG,'--includes']).strip().split():
+		for incstr in conf.cmd_and_log([conf.env.PYTHON_CONFIG,'--includes']).strip().split():
 			if(incstr.startswith('-I')or incstr.startswith('/I')):
 				incstr=incstr[2:]
 			if incstr not in includes: