mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 04:05:44 +01:00
psa: Include PSA headers for tests and programs
Programs and tests need to be able to use PSA header files when USE_CRYPTO_SUBMODULE and MBEDTLS_USE_PSA_CRYPTO are set. Add the crypto submodule include folder, which contains psa headers, after the main include folder so that psa headers can be found and crypto submodule headers don't take precedence over mbedtls headers.
This commit is contained in:
parent
46b79c14ad
commit
b1c48d3d83
@ -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
|
||||
|
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user