Integrate archive file of external library with platformio

I’m using an external API which comes with an archive file to be linked:

Is there a way to link the libalgobsec.a file online without copying it to local path?
Thus, somethink like flag -L http://.../lib.a (what doesn’t work)?

I wouldn’t be aware of a GCC or G++ feature that would allow an on-the-fly download of the file. You’d either have to pre-download it or write a custom script to do it I think.