Usage of customized library of ESP32 SDK

Hi there

Caming from this issue which seems that the precompiled library lwip suffers from some definitions I’ve tried to change. Thus the linking error appears.

Checked if I could download and compile a modified version of lwip and it did compile and upload, before getting a runtime error just on WiFi Connect which seems to me library conflicts (2 sources joined the binary).

Is there a method I can specify at PlatofrmIO so I could hint the linker to avoid the SDK precompiled liblwip.a in favor of the specified library?

Thanks for your help.