Skip to content

Commit

Permalink
zephyr: link mbedTLS library if required, required for latest zephyr …
Browse files Browse the repository at this point in the history
…version
  • Loading branch information
joelguittet committed May 22, 2024
1 parent 8896141 commit 8f7ac7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ if(CONFIG_MENDER_MCU_CLIENT)
file (STRINGS "${CMAKE_CURRENT_LIST_DIR}/../VERSION" MENDER_CLIENT_VERSION)
zephyr_library_compile_definitions(-DMENDER_CLIENT_VERSION=\"${MENDER_CLIENT_VERSION}\")
zephyr_library_compile_definitions(-D_POSIX_C_SOURCE=200809L) # Required for strdup and strtok_r support
zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)
endif()

0 comments on commit 8f7ac7b

Please sign in to comment.