Lib_extra_dirs deprecated alternative

I’m trying to replace lib_extra_dirs behavior by using lib_deps relative include.
It does not work properly. I mean, it should not work, anyway.

Currently it’s only finding last library contained on that folder:

I, as a general generic developer, do not want to create a json file for each of my “libraries”.
I just want to insert it for a given environment, as a kinda of HAL implementation.

How can I do it without any boilerplate?

Thanks!