docs: apply_incpaths_emscripten will be removed in waf 1.9

This commit is contained in:
Thomas Nagy 2015-10-25 09:00:51 +01:00
parent 02423e440a
commit 963c3b62c9
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,8 @@ def apply_incpaths_emscripten(self):
"""
Emscripten doesn't like absolute include paths
"""
if self.env.CC_NAME != 'emscripten' or self.env.CC_NAME != CXX_NAME:
# TODO: in waf 1.9 we can switch back to bldnode as the default since path_from handles cross-drive paths
if self.env.CC_NAME != 'emscripten' or self.env.CC_NAME != 'emscripten':
return
lst = self.to_incnodes(self.to_list(getattr(self, 'includes', [])) + self.env['INCLUDES'])
self.includes_nodes = lst