问题
I am using -rpath-link
with ld
when creating a shared library that needs some symbols from other shared library that is not in a default place (for example, if I am creating it as part of my build process).
My question is, why isn't the -L
option allowed to have this functionality? why does ld
need an extra option to do this?
来源:https://stackoverflow.com/questions/38528878/rationale-of-rpath-link