1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

build: make python development headers not mandatory in standalone libs

This needed an update to the python tool in waf

thanks to Kai for spotting this
This commit is contained in:
Andrew Tridgell 2010-04-21 16:17:08 +10:00
parent ab2555faac
commit 06fa4c8ebc
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -46,7 +46,7 @@ def configure(conf):
# also disable if we don't have the python libs installed # also disable if we don't have the python libs installed
conf.check_tool('python') conf.check_tool('python')
conf.check_python_version((2,4,2)) conf.check_python_version((2,4,2))
conf.check_python_headers() conf.check_python_headers(mandatory=False)
if not conf.env.HAVE_PYTHON_H: if not conf.env.HAVE_PYTHON_H:
Logs.warn('Disabling pytdb as python devel libs not found') Logs.warn('Disabling pytdb as python devel libs not found')
conf.env.disable_python = True conf.env.disable_python = True