Skip to content

Commit 70926d1

Browse files
committed
[nrf fromlist] lib: uuid: link to mbedTLS only when CONFIG_MBEDTLS_BUILTIN
Otherwise the CMake library may not exist and the linker command would wrongfully get populated with `-lmbedTLS`. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no> Upstream PR #: 108469
1 parent 44ede7f commit 70926d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/uuid/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
zephyr_sources_ifdef(CONFIG_UUID uuid.c)
44

5-
zephyr_library_link_libraries_ifdef(CONFIG_UUID_V5 mbedTLS)
5+
zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS_BUILTIN mbedTLS)

0 commit comments

Comments
 (0)