From 0ae40e8ff78aedeb95253bf98770a48bc591f36b Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Wed, 4 Feb 2015 16:13:38 +0100 Subject: [PATCH] toolchain: correctly include common inclusion as well --- toolchain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolchain.py b/toolchain.py index 567cd08..2517c8e 100644 --- a/toolchain.py +++ b/toolchain.py @@ -51,7 +51,8 @@ class Arch(object): "-arch", self.arch, "-pipe", "-no-cpp-precomp", "--sysroot={}".format(self.sysroot), - "-I{}/include/{}".format(self.ctx.dist_dir, self.arch), + "-I{}/common".format(self.ctx.include_dir), + "-I{}/{}".format(self.ctx.include_dir, self.arch), "-O3", self.version_min ])