summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt
diff options
context:
space:
mode:
authorHenrik Nordström <henrik@knc.nu>2016-05-11 12:35:06 +0200
committerHenrik Nordström <henrik@knc.nu>2016-05-11 12:35:06 +0200
commit9025cd9b72bf316f4d84b71b03af25675c834ff9 (patch)
tree019dce87cee11b16fb1a1e4c9ce6cf96cc12ac50 /libtomcrypt
parent2b891f5eb3c3070ed3ae260782371ccbf4e373f1 (diff)
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.
Diffstat (limited to 'libtomcrypt')
-rw-r--r--libtomcrypt/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/Makefile.in b/libtomcrypt/Makefile.in
index 3056ef0..7970700 100644
--- a/libtomcrypt/Makefile.in
+++ b/libtomcrypt/Makefile.in
@@ -19,7 +19,7 @@ srcdir=@srcdir@
# Compilation flags. Note the += does not write over the user's CFLAGS!
# The rest of the flags come from the parent Dropbear makefile
-CFLAGS += -c -I$(srcdir)/src/headers/ -I$(srcdir)/../ -DLTC_SOURCE -I$(srcdir)/../libtommath/
+CFLAGS += -c -Isrc/headers/ -I$(srcdir)/src/headers/ -I../ -I$(srcdir)/../ -DLTC_SOURCE -I../libtommath/ -I$(srcdir)/../libtommath/
# additional warnings (newer GCC 3.4 and higher)
ifdef GCC_34