Reverted the changes to conf.check(header_name=) as this causes regressions. Use conf.check(header_name=, link_header_test=False) - #1647

This commit is contained in:
Thomas Nagy 2015-10-26 22:44:39 +01:00
parent 963c3b62c9
commit 30336cd9ba
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,11 @@
NEW IN WAF 1.8.16
-----------------
* Reverted the changes to conf.check(header_name=) as this causes regressions. Use conf.check(header_name=, link_header_test=False) - #1647
* Disabled the loading of c_emscripten when building from the Waf tree
* Fixed the documentation build when using Sphinx < 1.3
* Propagate ldflags/LDFLAGS besides linkflags/LINKFLAGS
* Python3 fixes in extras/file_to_object.py
NEW IN WAF 1.8.15
-----------------
* Enabled multiple commands in run_str/rule

1
TODO
View File

@ -15,6 +15,7 @@ Waf 1.9
* Fix the vala detection
* Better consistency between check_cfg and check_cc variables
* Detect Clang by default on FreeBSD instead of gcc
* Use relative paths in apply_incpaths (and absolute ones when paths cross drives)
and all other issues listed on https://github.com/waf-project/waf/issues

View File

@ -482,7 +482,7 @@ def validate_c(self, kw):
kw['type'] = 'cprogram'
if not 'features' in kw:
if not 'header_name' in kw:
if not 'header_name' in kw or kw.get('link_header_test', True):
kw['features'] = [kw['compile_mode'], kw['type']] # "c ccprogram"
else:
kw['features'] = [kw['compile_mode']]