1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-20 12:12:24 +01:00
Files
esphome/esphome/components/esp32_hosted/esp32_hosted.py.script
2025-06-27 11:51:13 +12:00

13 lines
375 B
Plaintext

# pylint: disable=E0602
Import("env") # noqa
# Workaround whole archive issue
if "__LIB_DEPS" in env and "libespressif__esp_hosted.a" in env["__LIB_DEPS"]:
env.Append(
LINKFLAGS=[
"-Wl,--whole-archive",
env["BUILD_DIR"] + "/esp-idf/espressif__esp_hosted/libespressif__esp_hosted.a",
"-Wl,--no-whole-archive",
]
)