mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
8733738357
This function is a wrapper around waf's check_python_header. It avoids searching more than once for the headers bringing a small speed improvement and a better lisibility of the logs. But it's mainly to avoid a nasty bug when python libraries are in path pointed by python_LIBPL (ie. /usr/local/lib/python2.6/config/) instead of python_LIBDIR (ie. /usr/local/lib). On the first call waf will correctly find that in order to link with python libs it needs to add -L$python_LIBPL. But on the next calls of check_python_headers, waf will use both the current library path value (ie. -L/usr/local/lib/python2.6/config) and -L$python_LIBDIR (ie. /usr/local/lib/) which will make him beleive that python libraries are in $python_LIBDIR which at the end will make the final link test fails in check_python_headers as it will not use the good directory. So by avoiding calling check_python_headers more than once we avoid making waf fooling itself. |
||
---|---|---|
.. | ||
gccdeps.py | ||
generic_cc.py | ||
hpuxcc.py | ||
irixcc.py | ||
nothreads.py | ||
pkgconfig.py | ||
README | ||
samba3.py | ||
samba_abi.py | ||
samba_autoconf.py | ||
samba_autoproto.py | ||
samba_bundled.py | ||
samba_conftests.py | ||
samba_cross.py | ||
samba_deps.py | ||
samba_dist.py | ||
samba_install.py | ||
samba_optimisation.py | ||
samba_patterns.py | ||
samba_pidl.py | ||
samba_python.py | ||
samba_utils.py | ||
samba_version.py | ||
samba_wildcard.py | ||
stale_files.py | ||
symbols.py | ||
tru64cc.py | ||
wafsamba.py | ||
wscript |
This is a set of waf 'tools' to help make building the Samba components easier, by having common functions in one place. This gives us a more consistent build, and ensures that our project rules are obeyed TODO: see http://wiki.samba.org/index.php/Waf