diff options
author | Jason Haslam <jason@scitools.com> | 2015-05-26 22:47:18 (GMT) |
---|---|---|
committer | Jason Haslam <jason@scitools.com> | 2015-05-26 22:47:18 (GMT) |
commit | 681f761da16521a2c71412d86294066a5e67a34d (patch) | |
tree | faddb010e5da47baff219e1d62122894b04f8e4e /configure.py | |
parent | 78b1e52a5df429d336d4a08dd0d77fc74bb477dc (diff) | |
download | Ninja-681f761da16521a2c71412d86294066a5e67a34d.zip Ninja-681f761da16521a2c71412d86294066a5e67a34d.tar.gz Ninja-681f761da16521a2c71412d86294066a5e67a34d.tar.bz2 |
Search for generated headers relative to build dir.
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.py b/configure.py index 69f6075..27516b4 100755 --- a/configure.py +++ b/configure.py @@ -355,6 +355,9 @@ if platform.supports_ppoll() and not options.force_pselect: if platform.supports_ninja_browse(): cflags.append('-DNINJA_HAVE_BROWSE') +# Search for generated headers relative to build dir. +cflags.append('-I.') + def shell_escape(str): """Escape str such that it's interpreted as a single argument by the shell.""" |