From e1a819ea18aa3ecfcddb76ec681f520db162338e 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. --- 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 c2af3123f72..a15e1f620f1 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')):