mirror of
https://github.com/esphome/esphome.git
synced 2025-09-20 12:12:24 +01:00
13 lines
375 B
Plaintext
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",
|
|
]
|
|
)
|