From e0eaef48cdc20b549bc306bcf989c4745a6088c9 Mon Sep 17 00:00:00 2001 From: Henrik Nordstr?m Date: Wed, 11 May 2016 12:35:06 +0200 Subject: Support out-of-tree builds usign bundled libtom When building out-of-tree we need both source and generated folders in include paths to find both distributed and generated headers. --- libtommath/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libtommath') diff --git a/libtommath/Makefile.in b/libtommath/Makefile.in index 06aba68..019c50b 100644 --- a/libtommath/Makefile.in +++ b/libtommath/Makefile.in @@ -9,7 +9,7 @@ VPATH=@srcdir@ srcdir=@srcdir@ # So that libtommath can include Dropbear headers for options and m_burn() -CFLAGS += -I$(srcdir)/../libtomcrypt/src/headers/ -I$(srcdir)/../ +CFLAGS += -I. -I$(srcdir) -I../libtomcrypt/src/headers/ -I$(srcdir)/../libtomcrypt/src/headers/ -I../ -I$(srcdir)/../ ifndef IGNORE_SPEED -- cgit v1.2.1