diff --git a/programs/Makefile b/programs/Makefile index d379ddf20..c88a6c715 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -16,6 +16,8 @@ LOCAL_LDFLAGS = -L../library \ ifdef USE_CRYPTO_SUBMODULE LOCAL_LDFLAGS += -L../crypto/library +LOCAL_CFLAGS += -I../crypto/include +LOCAL_CXXFLAGS += -I../crypto/include endif ifndef SHARED diff --git a/tests/Makefile b/tests/Makefile index 4118c1439..78670c3fa 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -14,6 +14,7 @@ LOCAL_LDFLAGS = -L../library \ ifdef USE_CRYPTO_SUBMODULE LOCAL_LDFLAGS += -L../crypto/library +LOCAL_CFLAGS += -I../crypto/include CRYPTO := ../crypto/library/ else CRYPTO := ../library/