Commit 13296b0a authored by Jamie McCrae's avatar Jamie McCrae Committed by Andrzej Puzdrowski
Browse files

bootutil: zephyr: Fix not linking with mbedtls when needed



This fixes a build issue when building mcuboot for zephyr with RSA
image encryption support enabled using mbedtls.

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@lairdconnect.com>
Signed-off-by: default avatarAndrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
parent 75958ecf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -48,4 +48,8 @@ target_include_directories(MCUBOOT_BOOTUTIL INTERFACE
  ../../../ext/tinycrypt/lib/include
)
endif()

if(CONFIG_BOOT_USE_MBEDTLS)
  zephyr_link_libraries(mbedTLS)
endif()
endif()