1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

wafsamba: python-config is not always a script.

This commit is contained in:
Jelmer Vernooij 2012-12-16 15:01:53 +01:00
parent c1fb37d7be
commit e1a819ea18

View File

@ -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')):