that only happens if you provide the same library twice the dirs stated with `-L`, since the default paths have lower priority.
But in principle yes.