If characters are already allowed in the library, the linker ignores them. In shared libraries, as in this case, the linker is not actually referenced.
With static (.a) libraries, several copies on the command line can be useful, if not very nice, if, for example, the main access to libb, which refers to libc, which refers to something in libb, does not get access via main:
ld main.o -lb -lc -lb
- One way to eliminate all links.
source share