diff libtommath/Makefile.in @ 1335:253c08951b96

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.
author Henrik Nordström <henrik@knc.nu>
date Wed, 11 May 2016 12:35:06 +0200
parents a3bb15115816
children 60fc6476e044
line wrap: on
line diff
--- a/libtommath/Makefile.in	Tue May 16 23:04:57 2017 +0800
+++ b/libtommath/Makefile.in	Wed May 11 12:35:06 2016 +0200
@@ -9,7 +9,7 @@
 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