Search for generated headers relative to build dir.

This commit is contained in:
Jason Haslam 2015-05-26 16:47:18 -06:00
parent 1beea932bc
commit d3441a0338
2 changed files with 4 additions and 1 deletions

View File

@ -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."""

View File

@ -18,7 +18,7 @@
#include <stdlib.h>
#include <unistd.h>
#include "../build/browse_py.h"
#include "build/browse_py.h"
void RunBrowsePython(State* state, const char* ninja_command,
const char* initial_target) {