in all cases you may be distributing the library, so it's not a matter of if you are distributing it, but rather if your program becomes a derivative work if you use one method of linking, but not if you use a different one.
since linking is not a creative task, I don't see how it could create anything that's protectable by copyright.