diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-12-16 15:01:53 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-12-26 20:48:36 +0100 |
commit | e1a819ea18aa3ecfcddb76ec681f520db162338e (patch) | |
tree | fa647095480db4df052b2fcbc15d223ce75e20bf /buildtools | |
parent | c1fb37d7bec1dd720f3eccbd0b490b6a335ca288 (diff) | |
download | samba-e1a819ea18aa3ecfcddb76ec681f520db162338e.tar.gz samba-e1a819ea18aa3ecfcddb76ec681f520db162338e.tar.bz2 samba-e1a819ea18aa3ecfcddb76ec681f520db162338e.zip |
wafsamba: python-config is not always a script.
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafadmin/Tools/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafadmin/Tools/python.py b/buildtools/wafadmin/Tools/python.py index c2af3123f7..a15e1f620f 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')): |