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
@@ -113,3 +113,5 @@ target_compile_definitions(${COMPONENT_LIB} PRIVATE
CONFIG_IEEE80211W
CONFIG_WPA3_SAE
)
+
+set_property(TARGET ${COMPONENT_LIB} APPEND PROPERTY LINK_INTERFACE_MULTIPLICITY 3)