wpa_supplicant: Fix failure to link under some circumstances

Depending on CMake internals, the wpa_supplicant library may need to be repeated
multiple times in the linker command line.

Closes https://github.com/espressif/esp-idf/issues/5641
This commit is contained in:
Angus Gratton 2020-10-13 18:24:30 +11:00
parent c92efa0ae3
commit 865c1dd3dc

View File

@ -114,3 +114,5 @@ target_compile_definitions(${COMPONENT_LIB} PRIVATE
CONFIG_WPA3_SAE
CONFIG_SHA256
)
set_property(TARGET ${COMPONENT_LIB} APPEND PROPERTY LINK_INTERFACE_MULTIPLICITY 3)