Просмотр исходного кода

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
Angus Gratton 5 лет назад
Родитель
Сommit
5170ead2e6
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      components/wpa_supplicant/CMakeLists.txt

+ 2 - 0
components/wpa_supplicant/CMakeLists.txt

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