From 51c76a6adbbac64ad38812e66372a387271075ed Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 16 Dec 2012 15:01:53 +0100 Subject: [PATCH] wafsamba: python-config is not always a script. (cherry picked from commit e1a819ea18aa3ecfcddb76ec681f520db162338e) --- buildtools/wafadmin/Tools/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/wafadmin/Tools/python.py b/buildtools/wafadmin/Tools/python.py index c2af312..a15e1f6 100644 --- a/buildtools/wafadmin/Tools/python.py +++ b/buildtools/wafadmin/Tools/python.py @@ -259,7 +259,7 @@ MACOSX_DEPLOYMENT_TARGET = %r includes = [] if python_config: - for incstr in Utils.cmd_output("%s %s --includes" % (python, python_config)).strip().split(): + for incstr in Utils.cmd_output("%s --includes" % (python_config,)).strip().split(): # strip the -I or /I if (incstr.startswith('-I') or incstr.startswith('/I')): -- 1.7.9.5