From 1d224db5757a3dcd24d2d77e44b90f640b6f399b Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 13 Oct 2020 18:24:30 +1100 Subject: [PATCH] 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 --- components/wpa_supplicant/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/wpa_supplicant/CMakeLists.txt b/components/wpa_supplicant/CMakeLists.txt index e1bfcc71b7..17c7c5c91d 100644 --- a/components/wpa_supplicant/CMakeLists.txt +++ b/components/wpa_supplicant/CMakeLists.txt @@ -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)