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:
parent
c1fb37d7be
commit
e1a819ea18
@ -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')):
|
||||
|
Loading…
Reference in New Issue
Block a user